cmd输入pip debug --verbose查看python支持的版本
1.针对版本下载 下载网址,https://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy
2.将包文件考入python安装路径的script文件夹下。
C:Usersadmin>where python
D:anacondaanaconda3python.exe
C:UsersadminAppDataLocalMicrosoftWindowsAppspython.exe
3.输入cmd,打开终端命令行窗口,再输入“cd 包文件路径”进入包文件路径
C:UsersJZQ>cd D:anacondaanaconda3scripts
C:Usersadmin>D:
D:anacondaanaconda3scripts>
4.D:Pythonscripts> python -m pip install --upgrade pip
5. pip install scipy-1.7.3-cp37-cp37m-win_amd64.whl
D:Pythonscripts>pip install scipy-1.7.3-cp37-cp37m-win_amd64.whl
WARNING: Ignoring invalid distribution -andas (d:pythonlibsite-packages)
WARNING: Ignoring invalid distribution -andas (d:pythonlibsite-packages)
Processing d:pythonscriptsscipy-1.7.3-cp37-cp37m-win_amd64.whl
Requirement already satisfied: numpy<1.23.0,>=1.16.5 in c:usersjzqappdataroamingpythonpython37site-packages (from scipy==1.7.3) (1.21.4)
scipy is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
WARNING: Ignoring invalid distribution -andas (d:pythonlibsite-packages)
WARNING: Ignoring invalid distribution -andas (d:pythonlibsite-packages)
WARNING: Ignoring invalid distribution -andas (d:pythonlibsite-packages)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)