出现virtualenv - p python3 venv报错如何解决

  介绍

这期内容当中小编将会给大家带来有关出现virtualenv - p python3 venv报错如何解决,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。

root@iZwz982qla1uxm1s5dnyo7Z:/usr/lib/python3/dist-packages/virtualenv-15.0.1.egg-info #, virtualenv  -p  python3  venv   Running  virtualenv  with  interpreter /usr/bin/python2   New  python  executable 拷贝/usr/lib/python3/dist-packages/virtualenv-15.0.1.egg-info/venv/bin/python2   Not  overwriting  existing  python  script /usr/lib/python3/dist-packages/virtualenv-15.0.1.egg-info/venv/bin/python (你must  use /usr/lib/python3/dist-packages/virtualenv-15.0.1.egg-info/venv/bin/python2)   Please  make  sure 你;remove  any  previous  custom  paths 得到your /根/.pydistutils.cfg 文件。   ,1(全球)   Installing  setuptools, pkg_resources,皮普,轮…   ,Complete  output 得到command /usr/lib/python3/dis…nfo/venv/bin/python2 作用;setuptools  pkg_resources  pip 轮:   Collecting  setuptools   ,Downloading  http://mirrors.aliyun.com/pypi/packages/ff/f4/385715ccc461885f3cedf57a41ae3c12b5fec3f35cce4c8706b1a112a133/setuptools-40.0.0-py2.py3-none-any.whl  (567 kb)   Collecting  pkg_resources   例外:   Traceback  (most  recent  call 最后一个):   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/basecommand.py",, line  209年,主拷贝=,,status  self.run(选项,,args)   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/命令/install.py",, line  328年,拷贝运行   ,wb.build(自动构建=True)   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/wheel.py",, line  748年,建立拷贝   ,self.requirement_set.prepare_files (self.finder)   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/要求/req_set.py",, line  360年,prepare_files拷贝   ,ignore_dependencies=self.ignore_dependencies))   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/要求/req_set.py",, line  512年,_prepare_file拷贝   ,发现者,self.upgrade, require_hashes)   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/要求/req_install.py",, line  273年,populate_link拷贝=,,self.link  finder.find_requirement(自我,,升级)   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/index.py",, line  442年,find_requirement拷贝=,,all_candidates  self.find_all_candidates (req.name)   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/index.py",, line  400年,find_all_candidates拷贝   ,for  page  self._get_pages拷贝(url_locations, project_name):   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/index.py",, line  545年,_get_pages拷贝=,,page  self._get_page(位置)   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/index.py",, line  648年,_get_page拷贝   ,return  HTMLPage.get_page(链接,,会话=self.session)   ,File “/usr/share/python-wheels/pip-8.1.1-py2.py3-none-any.whl/脉冲/index.py",, line  760年,get_page拷贝   ,resp.raise_for_status ()   ,File “/usr/lib/python3 dist-packages/virtualenv-15.0.1.egg-info venv/分享/python-wheels/requests-2.9.1-py2.py3-none-any.whl/请求/models.py",, line  840年,raise_for_status拷贝   ,raise  HTTPError (http_error_msg,响应=自我)   HTTPError:, 404, Client 错误:,Not  Found  for  url: http://mirrors.aliyun.com/pypi/simple/pkg-resources/----------------------------------------   …Installing  setuptools, pkg_resources,皮普,,轮……。   Traceback  (most  recent  call 最后一个):   ,File “/usr/lib/python3 dist-packages/virtualenv.py",, line  2363年,拷贝& lt; module>   ,main ()   ,File “/usr/lib/python3 dist-packages/virtualenv.py",, line  719年,主拷贝   ,符号链接=options.symlink)   ,File “/usr/lib/python3 dist-packages/virtualenv.py",, line  988年,create_environment拷贝   ,下载=下载,   ,File “/usr/lib/python3 dist-packages/virtualenv.py",, line  918年,install_wheel拷贝   ,call_subprocess (cmd, show_stdout=False, extra_env=env, stdin=脚本)   ,File “/usr/lib/python3 dist-packages/virtualenv.py",, line  812年,call_subprocess拷贝   null   null   null   null   null   null

出现virtualenv - p python3 venv报错如何解决