无法在Enbedded Python中创建Visual Env

时间:2018-06-12 06:23:47

标签: python virtualenv

我试图通过嵌入式Python为新项目创建虚拟环境。

virtualenv env

抛出以下异常。

Traceback (most recent call last):
  File "runpy.py", line 193, in _run_module_as_main
  File "runpy.py", line 85, in _run_code
  File "D:\Software\python-3.5.4-embed-win32\Scripts\virtualenv.exe\__main__.py", line 9, in <module>
  File "d:\software\python-3.5.4-embed-win32\lib\site-packages\virtualenv.py", line 713, in main
    symlink=options.symlink)
  File "d:\software\python-3.5.4-embed-win32\lib\site-packages\virtualenv.py", line 925, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "d:\software\python-3.5.4-embed-win32\lib\site-packages\virtualenv.py", line 1147, in install_python
    writefile(site_filename_dst, SITE_PY)
  File "d:\software\python-3.5.4-embed-win32\lib\site-packages\virtualenv.py", line 362, in writefile
    with open(dest, 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\user\\git_workspace\\TechOffice-Python\\020-Tools\\020-Virtualenv\\env\\python35.zip\

我已经设置了PYTHONPATH环境变量。

0 个答案:

没有答案