Python安装包以及 pip 和conda 国内镜像源
目录
2,寻找特定版本的python包,比如tensorflow包,先搜寻在安装
2.pip install missingno 成功 缺失值的可视化
4.pip install pandas_profiling 成功;
5. pip install tqdm6. pip install folium :画地图的库,每个国家的大概形状,视频里探索性数据分析里面有,7. pip install pivottablejs
pip国内镜像源:
~$ pip install tensorflow-gpu -i https://pypi.tuna.tsinghua.edu.cn/simple/
其他国内镜像
其他国内镜像还有
http://pypi.hustunique.com/
http://pypi.sdutlinux.org/
https://pypi.mirrors.ustc.edu.cn/simple/
http://mirrors.aliyun.com/pypi/simple/
http://pypi.douban.com/simple/
---------------------
conda 国内镜像源 Ubuntu系统
conda源更改:
conda源国内只有清华有,
修改源只需输入如下两条命令:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
---------------------
Python包的安装
1,pip install [本地安装]:
先下载安装包
http://www.lfd.uci.edu/~gohlke/pythonlibs/#xgboost 这里面基本上我们能用的包都有找到对应的符合我的系统环境的版本,Python3.6,windows
2,寻找特定版本的python包,比如tensorflow包,先搜寻在安装
conda search tensorflow-gpu 查看对应的cuda和cudnn版本,
anaconda search -t conda tensorflow 这个是寻找TensorFlow版本 关注点在版本和平台,找到名字复制下来比如 n-west/tensorflow-cpu
然后输入命令 anaconda show n-west/tensorflow-cpu 就会告诉我应该怎样安装这个版本的tensorflow
To install this package with conda run:
conda install --channel https://conda.anaconda.org/n-west tensorflow-cpu
1. omgtools包的安装 2步:(Ubuntu系统)
pip install omg-tools
conda install -c conda-forge ipopt
2.pip install missingno 成功 缺失值的可视化
missingno这个包的某一些功能需要依赖geoplot ,安装安装geoplot 安装完成后也不能使用特定的画图功能msno.geoplot(datefram, x='LONGITUDE', y='LATITUDE')????????????
conda install geoplot -c conda-forge
3.import cv2 成功
windows 包的安装
pip install opencv-python
pip3 install opencv-python
4.pip install pandas_profiling 成功;
失败 :写成Profiling出现:Microsoft Visual C++ 14.0 is required 的解决方案
方法:安装一个软件即可,在本地已经下载,百度网盘里也有软件包里visualcppbuildtools_full.exe
5. pip install tqdm
6. pip install folium :画地图的库,每个国家的大概形状,视频里探索性数据分析里面有,
7. pip install pivottablejs
- python安装包管理工具pip以及修改pip源
- Windows在pip install tensorflow遇到的问题 一些python安装包的时候,超时问题以及权限问题
- win10下Python3.6安装、配置以及pip安装包教程
- pip conda 国内镜像源 添加与删除
- ubuntu16.04切换默认python版本以及使用pip安装包时遇到的问题
- 安装Python的pip以及配置国内源
- Python PIP安装太慢怎么办? 配置PyPi/pip国内镜像源
- win10下Python3.6安装、配置以及pip安装包教程
- Python安装包方法 - pip神器
- python 加速PIP2或pip3的安装包
- centos安装更新Python2.7以及pip的安装
- python的pip安装以及使用教程
- IP,子网,掩码检查以及生成-----python安装包
- 系统监控glances以及Python&pip 安装
- 没有sudo权限安装pip以及其他扩展包,版本适用于python2.7以上
- Raspberry Pi国内稳定镜像源以及修改方法
- pip 和 easy_install 区别,以及使用python 的虚拟环境
- 使用pip安装python包(在windows系统,国内网环境)
- CentOS 7 安装Python3以及pip3
- 查看Python安装路径以及安装包路径小技巧