인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

jhbum010114's profile image
jhbum010114

asked

Creating Real-World Python Games (Pygame)

pycharm에서 디버깅이 안되는 문제 질문

Written on

·

733

0

안녕하세요.  python 강의를 보며 많은 도움이 되었습니다. 강의를 보며 프로그램을 개발하고 있는데 pycharm에서 디버깅 시 다음과 같은 오류가 나서 디버깅이 되지 않습니다.   ====================================================================== C:\Python31\python.exe "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.2\helpers\pydev\pydevd.py" --client 127.0.0.1 --port 56101 --file D:/work/python/test/game.py
pydev debugger: starting Connected to pydev debugger (build 162.1237.1)
Traceback (most recent call last):
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.2\helpers\pydev\pydevd.py", line 1556, in <module>
globals = debugger.run(setup['file'], None, None, is_module)
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.2\helpers\pydev\pydevd.py", line 940, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.2\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 11, in execfile
stream = tokenize.open(file) # @UndefinedVariable
AttributeError: 'module' object has no attribute 'open' Process finished with exit code 1   ====================================================================== 실전 파이썬 게임 만들기(python) 동영상 보고 python 3.1과 그에 해당하는 pygame을 설치하여 사용하고 있습니다.   도움 부탁드립니다.   감사합니다.  
python

Answer

This question is waiting for answers
Be the first to answer!
jhbum010114's profile image
jhbum010114

asked

Ask a question