当前位置:网站首页>PIP version problems: PIP problems still occur when installing akshare and using Tsinghua source and Douban source
PIP version problems: PIP problems still occur when installing akshare and using Tsinghua source and Douban source
2022-07-01 17:36:00 【Son, wake up】
One 、 Problem description :
Using the following method to install all failed
① Installation command :pip install akshare
② Additional source installation commands :pip install akshare -i https://pypi.tuna.tsinghua.edu.cn/simple
③ Additional Douban source installation command :pip install akshare -i https://pypi.douban.com/simple/
Two 、 preparation :
I have one “Anaconda Create a python36 Environmental Science ”, If so, skip the preparatory work
Specific steps :
① Use "win+r" Open Command Prompt 、 Input "cmd" enter
② establish python=3.6 Version environment , named python36
conda create -n python36 python=3.6
3、 ... and 、 Problem solution :
Tips for the above questions : Timeout problem :timeout( The net is not good )pip problem ( Maybe it's about updates )
First use the following two methods to update :( First, I didn't succeed )
①easy_install -i https://pypi.doubanio.com/simple/ --upgrade pip
②python -m pip install -i http://pypi.douban.com/simple/ --upgrade pip --trusted-host=pypi.douban.com
1) open Anaconda Prompt
2) Input instruction , Get into python36 Environmental Science ( Activate the environment ):
conda activate python36
3) It can be installed quickly and well with the following instructions :(--trusted-host pypi.douban.com It can be understood that the trust option is added )
pip install akshare -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
notes : among “akshare” Is the package name I installed , To install other packages , Just put the “akshare” Change to the package name to be installed , The other is constant .
边栏推荐
- Intel's open source deep learning tool library openvino will increase cooperation with local software and hardware parties and continue to open
- 官宣!香港科技大学(广州)获批!
- The amazing open source animation library is not only awesome, but also small
- How to use etcd to realize distributed /etc directory
- 字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
- Kia recalls some K3 new energy with potential safety hazards
- Wechat applet blind box - docking wechat payment
- Detailed explanation of string's trim() and substring()
- Openlayers customize bubble boxes and navigate to bubble boxes
- Thinkphp6 - CMS multi wechat management system source code
猜你喜欢

DNS

Shenyu gateway development: enable and run locally

Replace UUID, nanoid is faster and safer!

可迭代对象与迭代器、生成器的区别与联系

How to use etcd to realize distributed /etc directory

National Security Agency (NSA) "sour Fox" vulnerability attack weapon platform technical analysis report

官宣!香港科技大学(广州)获批!

(17) DAC conversion experiment

多线程并发之CountDownLatch阻塞等待

vulnhub靶场-hacksudo - Thor
随机推荐
C language implementation of sum of two numbers [easy to understand]
Detailed explanation of string's trim() and substring()
Unity3d extended toolbar
手机开户股票开户安全吗?那么开户需要带些什么?
How wild are hackers' ways of making money? CTF reverse entry Guide
(28) Shape matching based on contour features
【C語言補充】判斷明天是哪一天(明天的日期)
Oom caused by improper use of multithreading
为什么你要考虑使用Prisma
Vulnhub range hacksudo Thor
pyqt5中,在控件上画柱状图
ACM MM 2022视频理解挑战赛视频分类赛道冠军AutoX团队技术分享
RadHat搭建内网YUM源服务器
MySQL learning summary
中国氮化硅陶瓷基板行业研究与投资前景报告(2022版)
Shenyu gateway development: enable and run locally
DNS
vulnhub靶场-Hacker_Kid-v1.0.1
如何使用 etcd 实现分布式 /etc 目录
ACL 2022 | 分解的元学习小样本命名实体识别