tensorflow安装与配置

1.按照官网的直接pip,但是首先你要安装python64位的安装包,不然提示没有对应版本,其次pip更换与喜爱国内的pip源,不然太慢了

2.使用docker镜像,这个也简单

3.直接使用anaconda的方式搞,也很简单

 

 

国内的其他镜像源,下面以豆瓣的镜像为例

    清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

    阿里云 http://mirrors.aliyun.com/pypi/simple/

    中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

    豆瓣(douban) http://pypi.douban.com/simple/

    中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

更新pip

    pip install --index-url https://pypi.douban.com/simple --upgrade pip    

下载库

    pip install --index-url https://pypi.douban.com/simple pytest

 

你可能感兴趣的:(pthon学习)