pip版本不够 按提示升级命令没用 (一直重复提示版本不够) 我用的是python2.7.14
来源:2-2 virtualenv安装和配置
慕粉3712741
2018-04-14
2回答
-
慕粉3712741
提问者
2018-04-15
已解决。 由于路径中文 问题
012018-04-16 -
慕粉3712741
提问者
2018-04-14
我使用他那个提示 升级 命令 循环出现版本不对 。也尝试过pip uninstall 删除 然后 easy再安装,结果出现的好像是编码问题
C:\Users\张学文>pip install virtualenv
Collecting virtualenv
Exception:
Traceback (most recent call last):
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\basecommand.py", line 228, in main
status = self.run(options, args)
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\commands\install.py", line 291, in run
resolver.resolve(requirement_set)
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\resolve.py", line 103, in resolve
self._resolve_one(requirement_set, req)
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\resolve.py", line 257, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\resolve.py", line 210, in _get_abstract_dist_for
self.require_hashes
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\operations\prepare.py", line 302, in prepare_linked_requirement
progress_bar=self.progress_bar
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\download.py", line 837, in unpack_url
progress_bar=progress_bar
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\download.py", line 674, in unpack_http_url
progress_bar)
File "e:\python27\lib\site-packages\pip-10.0.0b2-py2.7.egg\pip\_internal\download.py", line 896, in _download_http_url
file_path = os.path.join(temp_dir, filename)
File "e:\python27\lib\ntpath.py", line 85, in join
result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd5 in position 7: ordinal not in range(128)00
相似问题