0

我正在使用 Windows,并且正在从 Anaconda 发行版运行 Python 3.5.4。我试图在我的计算机上安装 PyQt5,但我相信我最终破坏了 Python 的启动。

现在,当我尝试打开 python 或 ipython 或 pip 时,我收到以下错误:

Error processing line 1 of C:\Users\George\Anaconda3\lib\site-packages\google_auth-1.1.1-py2.7-nspkg.pth:

Failed to import the site module
Traceback (most recent call last):
  File "C:\Users\George\Anaconda3\lib\site.py", line 167, in addpackage
    exec(line)
  File "<string>", line 1, in <module>
  File "C:\Users\George\Anaconda3\lib\types.py", line 166, in <module>
    import functools as _functools
  File "C:\Users\George\Anaconda3\lib\functools.py", line 23, in <module>
    from weakref import WeakKeyDictionary
  File "C:\Users\George\Anaconda3\lib\weakref.py", line 12, in <module>
    from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\George\Anaconda3\lib\site.py", line 570, in <module>
    main()
  File "C:\Users\George\Anaconda3\lib\site.py", line 550, in main
    known_paths = addsitepackages(known_paths)
  File "C:\Users\George\Anaconda3\lib\site.py", line 327, in addsitepackages
    addsitedir(sitedir, known_paths)
  File "C:\Users\George\Anaconda3\lib\site.py", line 206, in addsitedir
    addpackage(sitedir, name, known_paths)
  File "C:\Users\George\Anaconda3\lib\site.py", line 177, in addpackage
    import traceback
  File "C:\Users\George\Anaconda3\lib\traceback.py", line 5, in <module>
    import linecache
  File "C:\Users\George\Anaconda3\lib\linecache.py", line 8, in <module>
    import functools
  File "C:\Users\George\Anaconda3\lib\functools.py", line 23, in <module>
    from weakref import WeakKeyDictionary
  File "C:\Users\George\Anaconda3\lib\weakref.py", line 12, in <module>
    from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'

我不想重新安装 Anaconda,因为我保存了一些文件并安装了其他软件包,但不知道该怎么做。

4

0 回答 0