2013-01-23 3 views
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, 장고, 요청)

+7

프로젝트에'select.py'가 있습니까? – Wessie

+1

@Wessie : 좋은 추측. 내가 실수 한 횟수를 셀 수 없다 ... – dgel

+0

확인되었고 내 프로젝트에는'select.py'가 없다. 나는 여전히 오류가 발생하고있다. (나는 무엇이 잘못되었는지 전혀 모른다. –

답변

0

설치를 다시 시도했다.

"select.py"라는 스크립트를 만들었 기 때문에 이름을 바꾸고 "select.pyc"를 제거해야했습니다.