1

コマンドを実行すると、次のように表示されます。

Validating models...

0 errors found

Django version 1.4.3, using settings 'app.settings'
Development server is running at localhost:8000/
Quit the server with CTRL-BREAK.
Unhandled exception in thread started by <bound method Command.inner_run of <dja
ngo.contrib.staticfiles.management.commands.runserver.Command object at 0x000000
00033BBD30>>
Traceback (most recent call last):
  File "c:\Python27\lib\site-packages\django-1.4.3-py2.7.egg\django\core\managem
ent\commands\runserver.py", line 111, in inner_run
    ipv6=self.use_ipv6, threading=threading)
  File "c:\Python27\lib\site-packages\django-1.4.3-py2.7.egg\django\core\servers
\basehttp.py", line 253, in run
    httpd.serve_forever()
  File "c:\Python27\Lib\SocketServer.py", line 225, in serve_forever
    r, w, e = select.select([self], [], [], poll_interval)
AttributeError: 'module' object has no attribute 'select'

問題が何であるかについて何か考えはありますか?

アンインストールしてから再度インストールしようとしました(setuptools、pypi、django、requests)

4

1 に答える 1

0

Flask アプリでこの問題が発生しました。

「select.py」というスクリプトを作成したことに気付いたので、名前を変更して「select.pyc」を削除する必要がありました。

于 2013-05-04T22:53:12.380 に答える