Anaconda打不开

Traceback (most recent call last): File "F:\Anaconda\Scripts\conda-script.py", line 12, in <module> sys.exit(main()) ^^^^^^ File "F:\Anaconda\Lib\site-packages\conda\cli\main.py", line 109, in main return conda_exception_handler(main, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Anaconda\Lib\site-packages\conda\exception_handler.py", line 389, in conda_exception_handler return_value = exception_handler(func, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Anaconda\Lib\site-packages\conda\exception_handler.py", line 20, in __call__ return self.handle_exception(exc_val, exc_tb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\Anaconda\Lib\site-packages\conda\exception_handler.py", line 52, in handle_exception from .exceptions import ( File "F:\Anaconda\Lib\site-packages\conda\exceptions.py", line 15, in <module> import requests File "F:\Anaconda\Lib\site-packages\requests\__init__.py", line 43, in <module> import urllib3 File "F:\Anaconda\Lib\site-packages\urllib3\__init__.py", line 8, in <module> from .connectionpool import ( File "F:\Anaconda\Lib\site-packages\urllib3\connectionpool.py", line 29, in <module> from .connection import ( File "F:\Anaconda\Lib\site-packages\urllib3\connection.py", line 39, in <module> from .util.ssl_ import ( File "F:\Anaconda\Lib\site-packages\urllib3\util\__init__.py", line 3, in <module> from .connection import is_connection_dropped File "F:\Anaconda\Lib\site-packages\urllib3\util\connection.py", line 3, in <module> from .wait import wait_for_read File "F:\Anaconda\Lib\site-packages\urllib3\util\wait.py", line 1, in <module> from .selectors import ( File "F:\Anaconda\Lib\site-packages\urllib3\util\selectors.py", line 14, in <module> from collections import namedtuple, Mapping ImportError: cannot import name 'Mapping' from 'collections' (F:\Anaconda\Lib\collections\__init__.py)

我是出现了这样的问题,用这个命令成功解决:

pip install --upgrade urllib3

posted @ 2024-01-09 10:58  烟儿公主  阅读(56)  评论(0编辑  收藏  举报