怎么同时 安装python3和python2
早睡睡睡:
基本按照楼主的指引,全部装完了,最后一步查看pip2 -v的时候发现看不了,只能看pip3 -v的。[code=csharp]C:\Users\74606>pip2 -V
Fatal error in launcher: Unable to create process using '"D:\python\Python2\python.exe" "D:\python\Python2\Scripts\pip2.exe" -V'
[/code]
然后我去Python2的pip[code=csharp]C:\Users\74606>python2 -m pip install --upgrade pip --force-reinstall
Collecting pip
Exception:
Traceback (most recent call last):
File "D:\python\Python2\lib\site-packages\pip\basecommand.py", line 223, in main
status = self.run(options, args)
File "D:\python\Python2\lib\site-packages\pip\commands\install.py", line 280, in run
requirement_set.prepare_files(finder)
File "D:\python\Python2\lib\site-packages\pip\req\req_set.py", line 317, in prepare_files
functools.partial(self._prepare_file, finder))
File "D:\python\Python2\lib\site-packages\pip\req\req_set.py", line 304, in _walk_req_to_install
more_reqs = handler(req_to_install)
File "D:\python\Python2\lib\site-packages\pip\req\req_set.py", line 439, i
[/code]
|