如何从不起作用的 pip 安装 mkvirtualenvwrapper?
How to install mkvirtualenvwrapper from pip which is not working?
我尝试安装 virtalenvwrapper
但失败了。我不知道该怎么办
C:\Users\Vimal Rajan>pip install virtualenvwrapper
Collecting virtualenvwrapper
Downloading virtualenvwrapper-4.8.4.tar.gz (334 kB)
|████████████████████████████████| 334 kB 1.3 MB/s
ERROR: Command errored out with exit status 1:
command: 'c:\users\vimal rajan\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Vimal Rajan\AppData\Local\Temp\pip-install-3nh4gw0r\virtualenvwrapper\setup.py'"'"'; __file__='"'"'C:\Users\Vimal Rajan\AppData\Local\Temp\pip-install-3nh4gw0r\virtualenvwrapper\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Vimal Rajan\AppData\Local\Temp\pip-pip-egg-info-7pa4p02r'
cwd: C:\Users\Vimal Rajan\AppData\Local\Temp\pip-install-3nh4gw0r\virtualenvwrapper\
Complete output (3 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
ValueError: source code string cannot contain null bytes
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
我认为问题出在目录名称上:Vimal Rajan
.
我认为错误是指 Vimal Rajan
之间的 space 字符
如果目录名类似于Vimal_Rajan
、VimalRajan
等,问题解决。
如果你不想改变你的目录名称Vimal Rajan
,那么你可以使用C:\目录为virtualenvwrapper
。
我尝试安装 virtalenvwrapper
但失败了。我不知道该怎么办
C:\Users\Vimal Rajan>pip install virtualenvwrapper
Collecting virtualenvwrapper
Downloading virtualenvwrapper-4.8.4.tar.gz (334 kB)
|████████████████████████████████| 334 kB 1.3 MB/s
ERROR: Command errored out with exit status 1:
command: 'c:\users\vimal rajan\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Vimal Rajan\AppData\Local\Temp\pip-install-3nh4gw0r\virtualenvwrapper\setup.py'"'"'; __file__='"'"'C:\Users\Vimal Rajan\AppData\Local\Temp\pip-install-3nh4gw0r\virtualenvwrapper\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Vimal Rajan\AppData\Local\Temp\pip-pip-egg-info-7pa4p02r'
cwd: C:\Users\Vimal Rajan\AppData\Local\Temp\pip-install-3nh4gw0r\virtualenvwrapper\
Complete output (3 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
ValueError: source code string cannot contain null bytes
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
我认为问题出在目录名称上:Vimal Rajan
.
我认为错误是指 Vimal Rajan
如果目录名类似于Vimal_Rajan
、VimalRajan
等,问题解决。
如果你不想改变你的目录名称Vimal Rajan
,那么你可以使用C:\目录为virtualenvwrapper
。