安装multiprocessing报错

在Windows环境下尝试安装multiprocessing时遇到错误。首先安装wheel库,然后在CMD中使用正确版本的pip。从指定网站下载对应Python版本的whl文件,但安装过程中出现'instal'命令错误和不支持的wheel平台错误。最终发现是下载的wheel文件与Python版本不匹配,正确安装了匹配的whl文件后,成功导入multiprocess和multiprocessing模块。
摘要由CSDN通过智能技术生成

安装multiprocessing报错

Try to run this command from the system terminal. Make sure that you use the correct version of ‘pip’ installed for your Python interpreter located at ‘D:\quant\venv\Scripts\python.exe’.

解决方法:
1、pip install wheel
2、cmd python 中查看版本型号
3、https://www.lfd.uci.edu/~gohlke/pythonlibs/
在此网址中寻找对应的(通常为Python的版本,win32 o rwin64)所要的包,并下载
4、cmd cd至*.whl 锁在的文件夹 pip install .whl

C:\Users\DELL\Downloads>pip instal multiprocess-0.70.12.2-cp37-cp37m-win32.whl
ERROR: unknown command “instal” - maybe you meant “install”

C:\Users\DELL\Downloads>pip install multiprocess-0.70.12.2-cp37-cp37m-win32.whl
ERROR: multiprocess-0.70.12.2-cp37-cp37m-win32.whl is not a supported wheel on this platform.

C:\Users\DELL\Downloads>python
Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32
Typ

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值