安装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 Type “help”, “copyright”, “credits” or “license” for more information.
exit()
C:\Users\DELL\Downloads>pip install multiprocess-0.70.12.2-cp37-cp37m-win_amd64.whl Processing c:\users\dell\downloads\multiprocess-0.70.12.2-cp37-cp37m-win_amd64.whl Requirement already satisfied: dill>=0.3.4 in d:\vnstudio\lib\site-packages (from multiprocess==0.70.12.2) (0.3.4) multiprocess is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
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 Type “help”, “copyright”, “credits” or “license” for more information.
import multiprocess import multiprocessing
|