我正在可视化工作室代码上运行Python,今天当我尝试安装任何包时,我得到以下内容:pip
pip install sqlalchemy
Traceback (most recent call last):
File "C:\Python34\Scripts\pip-script.py", line 9, in <module>
load_entry_point('pip==20.0.2', 'console_scripts', 'pip')()
File "c:\python34\lib\site-packages\pkg_resources\__init__.py", line 558, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "c:\python34\lib\site-packages\pkg_resources\__init__.py", line 2682, in load_entry_point
return ep.load()
File "c:\python34\lib\site-packages\pkg_resources\__init__.py", line 2355, in load
return self.resolve()
File "c:\python34\lib\site-packages\pkg_resources\__init__.py", line 2361, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "c:\python34\lib\site-packages\pip-20.0.2-py3.4.egg\pip\_internal\cli\main.py", line 10,
in <module>
from pip._internal.cli.autocompletion import autocomplete
File "c:\python34\lib\site-packages\pip-20.0.2-py3.4.egg\pip\_internal\cli\autocompletion.py",
line 9, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "c:\python34\lib\site-packages\pip-20.0.2-py3.4.egg\pip\_internal\cli\main_parser.py",
line 7, in <module>
from pip._internal.cli import cmdoptions
File "c:\python34\lib\site-packages\pip-20.0.2-py3.4.egg\pip\_internal\cli\cmdoptions.py",
line 28, in <module>
from pip._internal.models.target_python import TargetPython
File "c:\python34\lib\site-packages\pip-20.0.2-
py3.4.egg\pip\_internal\models\target_python.py", line 4, in <module>
from pip._internal.utils.misc import normalize_version_info
我能做些什么来处理这个问题?
慕娘9325324
相关分类