Virtualenv:WindowsError:[错误5]访问被拒绝:

时间:2017-04-01 12:15:20

标签: python windows virtualenv

我在win7上使用miniconda和git = bash。我试图创造一个虚拟的人:

$ virtualenv myenv
Traceback (most recent call last):
  File "e:\miniconda2\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "e:\miniconda2\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "e:\miniconda2\Scripts\virtualenv.exe\__main__.py", line 9, in <module>
  File "e:\miniconda2\lib\site-packages\virtualenv.py", line 713, in main
    symlink=options.symlink)
  File "e:\miniconda2\lib\site-packages\virtualenv.py", line 925, in create_environment
    site_packages=site_packages, clear=clear, symlink=symlink))
  File "e:\miniconda2\lib\site-packages\virtualenv.py", line 1202, in install_python
    mkdir(bin_dir)
  File "e:\miniconda2\lib\site-packages\virtualenv.py", line 323, in mkdir
    os.makedirs(path)
  File "e:\miniconda2\lib\os.py", line 157, in makedirs
    mkdir(name, mode)
WindowsError: [Error 5] Access is denied: 'e:\\ENVS\\virtalenvs\\myenv\\Scripts'

我怎样才能使这个工作?

0 个答案:

没有答案