Python—pip安装库的几种方式
常见方式
pip install tensorflow
pip install tensorflow==2.0
使用源1
pip install tensorflow -i https://pypi.douban.com/simple
pip install tensorflow==2.0 -i https://pypi.douban.com/simple
使用源2
pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install tensorflow==2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple