我有LinuxMint17和Python3.4.0。我已经为utopic下载了python3.4包,这样就可以得到python3.4.2。我下载了它的依赖项以及IDLE和python3tk for 3.4.2。安装后,我没有找到任何我喜欢的东西。因此,在Synaptic的帮助下,我将这些包降级到原来的3.4.0包。我没有遇到任何问题,直到我在一个程序中遇到了一个问题。我试图在PyCharm中调试我的应用程序,但无法再在PyCharm中调试我的应用程序。在控制台部分,出现以下错误:/usr/bin/python3.4 /opt/pycharm-community-3.4.1/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 37770 --file "/home/ibrahim/Documents/Python/Team Rocket.py"
Traceback (most recent call last):
File "/opt/pycharm-community-3.4.1/helpers/pydev/pydevd.py", line 4, in
from django_debug import DjangoLineBreakpoint
File "/opt/pycharm-community-3.4.1/helpers/pydev/django_debug.py", line 2, in
from django_frame import DjangoTemplateFrame, get_template_file_name, get_template_line
File "/opt/pycharm-community-3.4.1/helpers/pydev/django_frame.py", line 1, in
from pydevd_file_utils import GetFileNameAndBaseFromFile
File "/opt/pycharm-community-3.4.1/helpers/pydev/pydevd_file_utils.py", line 44, in
from pydevd_constants import * #@UnusedWildImport
File "/opt/pycharm-community-3.4.1/helpers/pydev/pydevd_constants.py", line 80, in
import threading
ImportError: No module named 'threading'
Process finished with exit code 1
然后我打开IDLE来调试我的程序,从它的低功率调试器中获取至少一些信息,但它都没有工作!所以我直接从python3 -m idlelib.idle开始,它给了我相同的错误(但引用不同)。这是错误。在
^{pr2}$
我认为包括程序代码是微不足道的,但如果你想要的话,我可以给你。我刚刚确认我已经降低了所有包裹的等级。在
的版本号Python:-在python3.4 = 3.4.0-2ubuntu1
python3.4-minimal = 3.4.0-2ubuntu1
python3-tk = 3.4.0-0ubuntu1
idle-python3.4 = 3.4.0-2ubuntu1
PyCharm Community Edition = 3.4.1; Build = 135.1057; Running on Oracle Java 1.8.0 aka Java 8 for amd64 systems. Not running on OpenJDK.