目录
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