当前位置:网站首页>pip install --upgrade can‘t find Rust compiler
pip install --upgrade can‘t find Rust compiler
2022-07-26 00:34:00 【AI视觉网奇】
pip升级使用命令:python -m pip install --upgrade 会报错
我的解决方法,conda uninstall pip,重复执行几次,把pip低版本都下载了
然后重新安装:
conda install pip
此时需要输入命令:easy_install -U pip升级pip运行成功,再输入更新命令没有报错了,(‘easy_install -U 包名’ python老版本中下载更新包命令)
开始安装.whl安装包
忘记是不是这个链接下载的.whl安装包了:https://www.lfd.uci.edu/~gohlke/pythonlibs/
(1) 安装之前先查看下本机需要什么版本的安装包,如下图,去下载框里的格式的安装包
(2)下载完之后要把该安装包放在python目录下的Scripts目录下,这一步很重要
然后在该目录下打开cmd,运行pip install Twisted-20.3.0-cp36-cp36m-win32.whl,如下图
因为我本机电脑装了多个python,有2.x和3.x的,在安装过程中总是遇到问题,如
ERROR: Twisted-20.3.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
**遇到这个问题需要去第一步检查自己的机器配置(机器是64位的也很有可能需要安装32位的包噢)**
1
2
或者我明明安装包是36的,python也是36的,但安装时遇到提示:python 2.x平台不匹配的问题
原因就是因为没有把.whl这个文件放到你想要安装的python库里,我就是因为没有指定目录,直接安装,系统定位到的是2.x的python,导致提示平台不匹配
最后成功安装后,就需要去python环境中添加paramiko库了,或者pip添加
我使用python环境中添加库又报错了,又提示c++编译环境的问题,如
然后我用pip安装,安装成功了,就很不解。。。
就当我要放弃的时候,环境弄好了。。。。。
————————————————
版权声明:本文为CSDN博主「番茄酱~」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_41529798/article/details/118555985
边栏推荐
猜你喜欢

GOM and GEE engine black screen does not display the interface, and the solution of equipping map monsters

Getting started with D3D calculation shaders

Preparation of bovine erythrocyte superoxide dismutase sod/ folic acid coupled 2-ME albumin nanoparticles modified by bovine serum albumin

向左旋转k个字符串(细节)

Hcip day 13
![[untitled] how to realize pluggable configuration?](/img/48/673a2d63e11679f1e75ca3ca7ed6a9.jpg)
[untitled] how to realize pluggable configuration?

Research on text classification of e-commerce comments based on mffmb

Verilog语法基础HDL Bits训练 05

HNOI2012矿场搭建

Nodejs learning
随机推荐
The way to understand JS: the principle of object.call and object.create() inheritance
JMeter/IDEA中引用jar包json-path.jar的坎坷之路
JVM Tri Color marking and read-write barrier
Semaphore
hyperf使用之curd
Comparing the seven distributed transaction schemes, I prefer Alibaba's open source Seata (principle + Practice)
使用LocalDate类完成日历设计
Nodejs learning resources
hcia综合实验
Use localdate class to complete calendar design
YOLOV3
Hcip - republish
Hcip day 13
Wechat applet dynamic style | parameter transfer
How to open the Internet and ask friends to play together?
【oops-framework】随机数生成管理
[redis] ② redis general command; Why is redis so fast?; Redis data type
Master MySQL in an article
使用CMake编译OpenFoam求解器
HCIP 第十一天