当前位置:网站首页>pip install --upgrade can‘t find Rust compiler
pip install --upgrade can‘t find Rust compiler
2022-07-26 00:52:00 【AI vision netqi】
pip Upgrade use command :python -m pip install --upgrade Will report a mistake
My solution ,conda uninstall pip, Repeat several times , hold pip The lower versions have been downloaded
Then reinstall :
conda install pip
At this point, you need to enter the command :easy_install -U pip upgrade pip The successful running , There is no error when entering the update command ,(‘easy_install -U Package name ’ python Download the update package command in the old version )
Start installation .whl Installation package
Forget whether it was downloaded from this link .whl Package installed :https://www.lfd.uci.edu/~gohlke/pythonlibs/
(1) Before installing, check the version of the installation package required by this machine , Here's the picture , Go to download the installation package in the format in the box
(2) After downloading, put the installation package in python In the catalog Scripts Under the table of contents , This is an important step
Then open in this directory cmd, function pip install Twisted-20.3.0-cp36-cp36m-win32.whl, Here's the picture
Because my local computer has many python, Yes 2.x and 3.x Of , There are always problems during installation , Such as
ERROR: Twisted-20.3.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
** When you encounter this problem, you need to check your machine configuration first ( The machine is 64 Bit may also need to be installed 32 My bag oh )**
1
2
Or I clearly install the package 36 Of ,python It's also 36 Of , But I encountered a prompt during installation :python 2.x The problem of platform mismatch
The reason is that there is no .whl Put this file in the one you want to install python garage , I just didn't specify the directory , Direct installation , The system locates 2.x Of python, Cause prompt platform mismatch
Finally, after successful installation , You need to go python Add in environment paramiko The library , perhaps pip add to
I use python An error is reported when adding a library to the environment , Another hint c++ Problems with the compilation environment , Such as
Then I use pip install , Installation is successful , I don't understand ...
Just when I want to give up , The environment is ready .....
————————————————
Copyright notice : This paper is about CSDN Blogger 「 Ketchup ~」 The original article of , follow CC 4.0 BY-SA Copyright agreement , For reprint, please attach the original source link and this statement .
Link to the original text :https://blog.csdn.net/qq_41529798/article/details/118555985
边栏推荐
猜你喜欢
随机推荐
【NumPy中数组相关方法】
User defined variables and extracted public variables of JMeter
微波炉整流二极管 CL01-12
Redis (VIII) - redis enterprises' actual coupons spike
独家下载|《阿里云MaxCompute百问百答》 解锁SaaS模式云数据仓库尽在本电子手册!
[calculate the number of times that one string is equal to another string]
2022/7/25 exam summary
开发还没联调,任务就要上线
C#从入门到精通(三)
JMeter/IDEA中引用jar包json-path.jar的坎坷之路
[GOM engine] script setting method for dummy configuration
2022/7/19 exam summary
Nodejs learning
【IJCAI 2022】参数高效的大模型稀疏训练方法,大幅减少稀疏训练所需资源
Prefix XOR sum, XOR difference array
Hcip day 11
Processes and threads
Redis命令参考手册 - Key
【MATLAB appdesigner】27_ How to debug and view variables in appdesigner? (examples + skills)
The ultra comprehensive open source WinForm UI library meets all your desktop development needs!








