当前位置:网站首页>PIP3 installation requests Library - the most complete pit sorting
PIP3 installation requests Library - the most complete pit sorting
2022-04-23 04:40:00 【Z-hhhhh】
pip3 install requests When , Encountered many pits , Now to summarize .
May you not use it .
I hit all the pits at once …
One 、ssl module in Python is not available
This is the first question
install openssl
yum install openssl
yum install openssl-devel
Reinstall the source code
./configure --prefix=/usr/local/python3/ --enable-shared --enable-loadable-sqlite-extensions
make && make install
Be careful , above /usr/local/python3/ Change it according to your installation path
Then I had a second problem
Two 、No such file or directory
cp libpython3.6m.so.1.0 /usr/local/lib64/
cp libpython3.6m.so.1.0 /usr/lib
cp libpython3.6m.so.1.0 /usr/lib64
Then I had a third problem
3、 ... and 、 Version of the problem
Use pip3 Prompt to upgrade when installing the software pip3“You are using pip version 10.0.1, however version 18.0 is available.You should consider upgrading via the ‘pip install --upgrade pip’ command.”
Then I went to upgrade the version .
But the upgrade command is strange
sudo pip3 install --upgrade pip
Found a lot , Just know the right command , Use sudo Otherwise, the authority is not enough
After that, OK. , I have a fourth problem , I ... It's really a pit step by step
Four 、trackback
Here is the pip3 Just reinstall
curl https://bootstrap.pypa.io/get-pip.py | python3
pip3 --version
See the version information , You're close to victory .
Finally, execute our initial order .
pip3 install requests
finally , notice Successfully 了 . It's not easy .
You should see this , Or true love , Or you run into a lot of holes .
版权声明
本文为[Z-hhhhh]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220559122795.html
边栏推荐
- 2019 is coming to an end, the longest day.
- MYSQL查询至少连续n天登录的用户
- MySQL queries users logged in for at least N consecutive days
- 智能电子秤全国产化电子元件推荐方案
- What is the thirty-six plan
- leetcode001--返回和为target的数组元素的下标
- Small volume Schottky diode compatible with nsr20f30nxt5g
- Go reflection rule
- Recommended scheme for national production of electronic components of wireless keyboard
- 递归调用--排列的穷举
猜你喜欢
Mysql50 basic exercises
Gut liver axis: host microbiota interaction affects hepatocarcinogenesis
Chapter 4 - understanding standard equipment documents, filters and pipelines
Iron and intestinal flora
RC低通滤波器的逆系统
Chlamydia infection -- causes, symptoms, treatment and Prevention
Go反射法则
Coinbase: basic knowledge, facts and statistics about cross chain bridge
Recommended scheme for national production of electronic components for wireless charging
Record your own dataset with d435i, run orbslam2 and build a dense point cloud
随机推荐
Summary of MySQL de duplication methods
[AI vision · quick review of today's sound acoustic papers, issue 2] Fri, 15 APR 2022
QML进阶(五)-通过粒子模拟系统实现各种炫酷的特效
補:注解(Annotation)
How to regulate intestinal flora? Introduction to common natural substances, probiotics and prebiotics
[AI vision · quick review of robot papers today, issue 32] wed, 20 APR 2022
Gut liver axis: host microbiota interaction affects hepatocarcinogenesis
leetcode001--返回和为target的数组元素的下标
mysql ,binlog 日志查询
Go反射—Go语言圣经学习笔记
Differences among electric drill, electric hammer and electric pick
Record the blind injection script
FAQ of foreign lead and alliance Manager
洛谷P1858 【多人背包】 (背包求前k优解)
Use recyclerview to realize left-right side-by-side classification selection
QML advanced (IV) - drawing custom controls
IDE Idea 自动编译 与 On Upate Action 、 On Frame Deactivation 的配置
io. Platform. packageRoot; // ignore: deprecated_ Member_ use
2020 is coming to an end, special and unforgettable.
无线充电全国产化电子元件推荐方案