我在Windows上安装了PyCharm Community Edition 5.0。
当我从命令行运行Python并尝试使用PyCharm进行附加时,它失败并出现以下错误:
Attaching to a process with PID=5860
C:\Python34\python.exe -mpydevd_attach_to_process.attach_pydevd --port 36748 --pid 5860
C:\Python34\python.exe: Error while finding spec for 'pydevd_attach_to_process.attach_pydevd' (<class 'ImportError'>: No module named 'pydevd_attach_to_process')
但看起来模块已经安装了PyCharm:
C:\Program Files (x86)\JetBrains\PyCharm Community Edition 5.0\helpers\pydev\pydevd_attach_to_process
我有什么办法可以解决它吗?