PIP:尝试下载scipy时出现“启动器中的致命错误”

问题描述 投票:1回答:1

问题

在由于某些错误而无法下载scipy之后,我尝试安装和卸载python,降级为python3.75,然后又降回python 3.8-现在什么都行不通了。

即,在命令行中键入pip将返回以下错误:

Fatal error in launcher: Unable to create process using '"c:\users\alon\appdata\local\programs\python\python38-32\python.exe" "C:\Users\alon\AppData\Local\Programs\Python\Python38-32\Scripts\pip.exe" '

我要做的就是让scipy工作,但是现在一切都坏了。

我尝试过的内容

实际上,我遍历了SO和其他处理此错误的地方的所有线程,但没有任何效果。

我尝试删除python并再次下载,但是问题仍然存在。

其他详细信息

我正在研究Windows 10

编辑

尝试删除所有内容并重新安装后,在cmd行中执行pip时出现此错误:

File "<stdin>", line 1, in <module>
NameError: name 'pip' is not defined```


When I execute ```echo %PATH%``` this is what I get:

```C:\Program Files\Cmder\bin;C:\Program Files\Cmder\vendor\bin;C:\Program Files\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Program Files\Cmder\vendor\conemu-maximus5;C:\Program Files\Cmder\vendor\conemu-maximus5\ConEmu;C:\Program Files (x86)\Python38-32\Scripts\;C:\Program Files (x86)\Python38-32\;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\LyX 2.3\Perl\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\alon\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Cmder```


While when I enter "edit environment variables" this is what appears under ```path```:

```C:\Program Files (x86)\Python38-32\Scripts\;C:\Program Files (x86)\Python38-32\;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\LyX 2.3\Perl\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;```

Which is a completely different list. 
python scipy pip
1个回答
0
投票

我有类似的问题。我也有Windows10。在完成pip安装和pip3安装后,本来可以正常工作,然后却无法正常工作(击败我)

py -m pip install whatver-it-is-your-trying-to-install

为我工作。

© www.soinside.com 2019 - 2024. All rights reserved.