1
运行的命令,下面显示后:蟒蛇manage.py runserver命令:AttributeError的:“模块”对象有没有属性“选择”
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的,请求)
你的项目中是否有'select.py'? – Wessie
@Wessie:很棒的猜测。无法统计我犯了多少次错误... – dgel
已验证,我的项目中没有“select.py”。我仍然收到错误:(我不知道它有什么问题 –