PyCharmを使用しています。 Python 3.3でpydevデバッガを構築したのは、 python /Applications/PyCharm.app/Contents/helpers/pydev/setup_cython.py build_ext --inplace
です。 私は、Pythonの3.5の下で新しい仮想環境を使用するように私のプロジェクトを更新しなければならなかった、そして今、デバッガは次のメッセージと、実行されません:私は無効、更新Pythonのバージョンでsetup_cython.py build_ext --inplace
を再実行しようとしたPythonのアップグレード後にPyCharmでPydevデバッガが動作しなくなった
/<venv_path>/bin/python3.5 /Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py --multiproc --save-signatures --qt-support --client 127.0.0.1 --port 58286 --file /Applications/PyCharm.app/Contents/helpers/pycharm/pytestrunner.py -p pytest_teamcity <pytest_root> <options>
Testing started at 10:25 AM ...
pydev debugger: process 94521 is connecting
Connected to pydev debugger (build 163.8233.8)
Traceback (most recent call last):
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1596, in <module>
globals = debugger.run(setup['file'], None, None, is_module)
File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 956, in run
time.sleep(0.1) # busy wait until we receive run command
KeyboardInterrupt
私のキャッシュは、再起動、私の.idea
フォルダを削除しますが、上記のメッセージを解決するものは何もありません。
新たにクローンされたリポジトリからプロジェクトを作成することでデバッガの使用を再利用することができました。これは前述のすべての手順を実行してもPyCharmプロジェクトをクリアするには不十分ですそのソースファイルの外部の参照。私はまだ誰かがこの問題を解決したかどうかを知りたいと思っています。 – Jon