当前位置:网站首页>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 .
边栏推荐
- 【C语言补充】判断明天是哪一天(明天的日期)
- Replace UUID, nanoid is faster and safer!
- 【Try to Hack】vulnhub DC4
- Research Report on development prediction and investment direction of nylon filament sewing thread in China (2022 Edition)
- 中国冰淇淋市场深度评估及发展趋势预测报告(2022版)
- 中国一次性卫生用品生产设备行业深度调研报告(2022版)
- 【C补充】【字符串】按日期排序显示一个月的日程
- 中国茂金属聚乙烯(mPE)行业研究报告(2022版)
- 剑指 Offer 20. 表示数值的字符串
- 如何写出好代码 — 防御式编程指南
猜你喜欢
多线程使用不当导致的 OOM
[Verilog quick start of Niuke network question brushing series] ~ priority encoder circuit ①
Petrv2: a unified framework for 3D perception of multi camera images
Vulnhub range hacksudo Thor
Leetcode records - sort -215, 347, 451, 75
Thinkphp6 - CMS multi wechat management system source code
官宣!香港科技大学(广州)获批!
Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
【Try to Hack】vulnhub DC4
Replace UUID, nanoid is faster and safer!
随机推荐
字节跳动数据平台技术揭秘:基于 ClickHouse 的复杂查询实现与优化
Countdownlatch blocking wait for multithreading concurrency
【C语言补充】判断明天是哪一天(明天的日期)
Research Report on development monitoring and investment prospects of China's smart environmental protection industry (2022 Edition)
剑指 Offer 20. 表示数值的字符串
How to use JMeter function and mockjs function in metersphere interface test
期货先锋这个软件正规吗安全吗?选择哪家期货公司更安全?
SLO is increasingly used to achieve observability | Devops
荣威 RX5 的「多一点」产品策略
越来越多地使用 SLO 来实现可观测性|DevOps
LeetCode中等题之TinyURL 的加密与解密
Official announcement! Hong Kong University of science and Technology (Guangzhou) approved!
可迭代对象与迭代器、生成器的区别与联系
提交review时ReviewBoard出现500错误解决方法
Vulnhub range hacksudo Thor
MySQL -- explain performance optimization
There is a new breakthrough in quantum field: the duration of quantum state can exceed 5 seconds
Research Report on China's enzyme Market Forecast and investment strategy (2022 Edition)
【C补充】【字符串】按日期排序显示一个月的日程
【C语言基础】12 字符串