2019年10月13日

numpy更换版本解决tensorflow1.5报错

摘要: 安装tensorflow1.5版本后,运行import tensorflow as tf报出一系列警告但不是错误 root@China:# python3Python 3.5.2 (default, Oct 8 2019, 13:06:37) [GCC 5.4.0 20160609] on linu 阅读全文

posted @ 2019-10-13 21:47 糖糖大大 阅读(5645) 评论(1) 推荐(2) 编辑

国内开源镜像站点

摘要: 阿里开源镜像站: http://mirrors.aliyun.com/ 搜狐开源镜像站: http://mirrors.sohu.com/ 网易开源镜像站: http://mirrors.163.com/ 清华大学开源软件镜像站: https://mirrors.tuna.tsinghua.edu. 阅读全文

posted @ 2019-10-13 20:19 糖糖大大 阅读(387) 评论(0) 推荐(0) 编辑

解决pip3的ImportError: cannot import name 'main'

摘要: 在Ubuntu中,升级pip3之后,使用pip3出现 ImportError: cannot import name 'main' 的错误。本文介绍如何修正这个错误,亲测有效 安装python3: sudo apt install python3 安装pip3: sudo apt install p 阅读全文

posted @ 2019-10-13 20:03 糖糖大大 阅读(625) 评论(0) 推荐(0) 编辑

国外pip源下载太慢,修改成国内pip源

摘要: 临时使用: 可以在使用pip的时候在后面加上-i参数,指定pip源 eg: pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn/simple 永久修改: linux: 修改 ~/.pip/pip.conf (没有就创建一个然后用vim打开) 阅读全文

posted @ 2019-10-13 19:53 糖糖大大 阅读(1446) 评论(0) 推荐(0) 编辑

导航