pip运行出错求助
C:\Users\lenovo>pip install numpyTraceback (most recent call last):
File "D:\学习\python\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "D:\学习\python\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "D:\学习\python\Scripts\pip.exe\__main__.py", line 4, in <module>
ValueError: source code string cannot contain null bytes
你为什么把你的python放到中文路径下。它的报错信息就是让你不要把python安装到中文路径名下。你要么重新安装一次,别用中文命名文件夹。要么把 学习换成一串英文,再修改对应的环境变量,后者,我没试过。
页:
[1]