安装virtualenv后,开始虚拟环境但一直报这个错误

冰封的法师 冰封的法师 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
安装virtualenv后,开始虚拟环境但一直报这个错误

G:\>virtualenv test
New python executable in test\Scripts\python.exe
Installing setuptools, pip, wheel...
Complete output from command G:\test\Scripts\python.exe -c "import sys, pip; s
ys...d\"] + sys.argv[1:]))" setuptools pip wheel:
Ignoring indexes: https://pypi.python.org/simple
Collecting setuptools
The repository located at None is not a trusted or secure host and is being ig
nored. If this repository is available via HTTPS it is recommended to use HTTPS
instead, otherwise you may silence this warning and allow it anyways with '--tru
sted-host None'.
The repository located at None is not a trusted or secure host and is being ig
nored. If this repository is available via HTTPS it is recommended to use HTTPS
instead, otherwise you may silence this warning and allow it anyways with '--tru
sted-host None'.
The repository located at None is not a trusted or secure host and is being ig
nored. If this repository is available via HTTPS it is recommended to use HTTPS
instead, otherwise you may silence this warning and allow it anyways with '--tru
sted-host None'.
The repository located at None is not a trusted or secure host and is being ig
nored. If this repository is available via HTTPS it is recommended to use HTTPS
instead, otherwise you may silence this warning and allow it anyways with '--tru
sted-host None'.
The repository located at None is not a trusted or secure host and is being ig
nored. If this repository is available via HTTPS it is recommended to use HTTPS
instead, otherwise you may silence this warning and allow it anyways with '--tru
sted-host None'.
The repository located at None is not a trusted or secure host and is being ig
nored. If this repository is available via HTTPS it is recommended to use HTTPS
instead, otherwise you may silence this warning and allow it anyways with '--tru
sted-host None'.
Could not find a version that satisfies the requirement setuptools (from versi
ons: )
No matching distribution found for setuptools
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "D:\program files\Python27\Scripts\virtualenv-script.py", line 9, in <mod
ule>
load_entry_point('virtualenv==13.1.0', 'console_scripts', 'virtualenv')()
File "D:\Program Files\Python27\lib\site-packages\virtualenv-13.1.0-py2.7.egg\
virtualenv.py", line 832, in main
symlink=options.symlink)
File "D:\Program Files\Python27\lib\site-packages\virtualenv-13.1.0-py2.7.egg\
virtualenv.py", line 1004, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "D:\Program Files\Python27\lib\site-packages\virtualenv-13.1.0-py2.7.egg\
virtualenv.py", line 969, in install_wheel
'PIP_NO_INDEX': '1'
File "D:\Program Files\Python27\lib\site-packages\virtualenv-13.1.0-py2.7.egg\
virtualenv.py", line 910, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command G:\test\Scripts\python.exe -c "import sys, pip; sys...d\"] + sy
s.argv[1:]))" setuptools pip wheel failed with error code 1

请问到底出了什么问题,怎么解决?我现在用的是win8.1 64bit python环境2.7.10 64bit
...全文

相关推荐

评论 5
收藏 已收藏
分享
返回顶部
冰封的法师
脚本语言 37,737 成员 34,208 内容