Anaconda3中的随机错误

时间:2016-12-17 22:09:36

标签: python python-3.x sockets import anaconda

 C:\Users\jesper>pip Traceback (most recent call last):   File
 "D:\Anaconda3\Scripts\pip-script.py", line 3, in <module>
     import pip   File "D:\Anaconda3\lib\site-packages\pip\__init__.py", line 14, in <module>
     from pip.utils import get_installed_distributions, get_prog   File "D:\Anaconda3\lib\site-packages\pip\utils\__init__.py", line 22, in
 <module>
     from pip.compat import console_to_str, expanduser, stdlib_pkgs   File "D:\Anaconda3\lib\site-packages\pip\compat\__init__.py", line 11,
 in <module>
     from logging.config import dictConfig as logging_dictConfig   File "D:\Anaconda3\lib\logging\config.py", line 30, in <module>
     import logging.handlers   File "D:\Anaconda3\lib\logging\handlers.py", line 26, in <module>
     import logging, socket, os, pickle, struct, time, re   File "D:\Anaconda3\lib\socket.py", line 123, in <module>
     class socket(_socket.socket): TypeError: __weakref__ slot disallowed: either we already got one, or __itemsize__ != 0

我现在得到这个,并且它是随机发生的并且不断重复出现。我目前无法使用Python。我尝试重新安装整个conda库并为Anaconda尝试了不同的位置。即使尝试安装Anaconda for 2.7,它仍然无法正常工作。如果有人知道如何解决我会在那里永远的债务。谢谢!

0 个答案:

没有答案