0
내가 VIRTUALENV 래퍼에 문제가있어, 나는 아래의 오류가 발생합니다 (독립형 설치 프로그램을 사용하여 설치) : 소스를 /cygdrive/c/Python34/Scripts/virtualenvwrapper.sh내가 실행할 때
올바른 경로 <을 virtualenvwrapper.sh내가 파이썬 <이
- 실행했습니다을 VIRTUALENV 올바른 경로
- 을 보여줍니다
>$ source /cygdrive/c/Python34/Scripts/virtualenvwrapper.sh stevedore.extension error calling 'project': [Errno 2] No such file or directory : 'C:\\home\\kolafsson\\.virtualenvs\\premkproject' stevedore.extension [Errno 2] No such file or directory: 'C:\\home\\kolafsson\\. virtualenvs\\premkproject' Traceback (most recent call last): File "C:\Python34\lib\site-packages\stevedore-0.15-py3.4.egg\stevedore\extensi on.py", line 248, in _invoke_one_plugin response_callback(func(e, *args, **kwds)) File "C:\Python34\lib\site-packages\virtualenvwrapper-4.2-py3.4.egg\virtualenv wrapper\hook_loader.py", line 185, in invoke File "C:\Python34\lib\site-packages\virtualenvwrapper-4.2-py3.4.egg\virtualenv wrapper\project.py", line 30, in initialize comment) File "C:\Python34\lib\site-packages\virtualenvwrapper-4.2-py3.4.egg\virtualenv wrapper\user_scripts.py", line 124, in make_hook f = open(filename, 'w') FileNotFoundError: [Errno 2] No such file or directory: 'C:\\home\\kolafsson\\.v irtualenvs\\premkproject' stevedore.extension error calling 'user_scripts': [Errno 2] No such file or dire ctory: 'C:\\home\\kolafsson\\.virtualenvs\\initialize' stevedore.extension [Errno 2] No such file or directory: 'C:\\home\\kolafsson\\. virtualenvs\\initialize' Traceback (most recent call last): File "C:\Python34\lib\site-packages\stevedore-0.15-py3.4.egg\stevedore\extensi on.py", line 248, in _invoke_one_plugin response_callback(func(e, *args, **kwds)) File "C:\Python34\lib\site-packages\virtualenvwrapper-4.2-py3.4.egg\virtualenv wrapper\hook_loader.py", line 185, in invoke File "C:\Python34\lib\site-packages\virtualenvwrapper-4.2-py3.4.egg\virtualenv wrapper\user_scripts.py", line 141, in initialize make_hook(get_path('$VIRTUALENVWRAPPER_HOOK_DIR', filename), comment) File "C:\Python34\lib\site-packages\virtualenvwrapper-4.2-py3.4.egg\virtualenv wrapper\user_scripts.py", line 124, in make_hook f = open(filename, 'w') FileNotFoundError: [Errno 2] No such file or directory: 'C:\\home\\kolafsson\\.v irtualenvs\\initialize' Traceback (most recent call last): File "C:\Python34\lib\runpy.py", line 171, in _run_module_as_main "__main__", mod_spec) File "C:\Python34\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Python34\lib\site-packages\virtualenvwrapper-4.2-py3.4.egg\virtualenv wrapper\hook_loader.py", line 217, in <module> File "C:\Python34\lib\site-packages\virtualenvwrapper-4.2-py3.4.egg\virtualenv wrapper\hook_loader.py", line 137, in main FileNotFoundError: [Errno 2] No such file or directory: '/tmp/virtualenvwrapper- initialize-hook-Kxjb02CrwN' virtualenvwrapper.sh: There was a problem running the initialization hooks.
파이썬 모듈 virtualenvwrapper.hook_loader를 가져올 수없는 경우, VIRTUALENVWRAPPER_PYTHON에 대한 VIRTUALENV 설치되어 있는지 확인 =/cygdrive/C/Python34/파이썬 -3210 올바른 경로를
오류를 보여줍니다 PATH는 으로 설정되어 있습니다.
누구든지이 오류의 원인과 해결 방법을 알고 있습니까?