
Python
__计算机小白__
这个作者很懒,什么都没留下…
展开
-
训练神经网络时缺少Matplotlib库Tkinder库报错
刚才要用Python运行一个神经网络的代码时,发现报错了。根据提示,发现没安装matplotlib模块。这个简单,先sudo pip install matplotlib就行。在Ubuntu下使用matplotlib这个库时,运行时出现如下错误: raise ImportError(str(msg) + ', please install the python3-tk package')Impor...原创 2018-04-20 09:49:04 · 312 阅读 · 0 评论 -
Ubuntu 16.04桌面版 +Tensorflow (CPU版)
首先,先安装pip输入 sudo apt-get install python-pip;接下来进入清华大学镜像网 https://mirrors.tuna.tsinghua.edu.cn/选择红色这一栏,tensorflow,然后点击蓝色框的那个问号。https://mirrors.tuna.tsinghua.edu.cn/help/tensorflow/pip install \ -i...原创 2018-06-26 20:45:27 · 405 阅读 · 0 评论 -
Opecncv-python使用踩坑篇(一)
import cv2时“RuntimeError: module compiled against API version 0xb but this version of numpy is 0xaTraceback (most recent call last):File "<stdin>", line 1, in &lt...原创 2018-10-25 14:29:46 · 553 阅读 · 0 评论