![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
happyangel_nan
努力,成就更好的的自己
展开
-
<urlopen error [Errno -3] Temporary failure in name resolution>
程序出现以下报错现象:解决办法,在程序开始加上:from urllib.request import urlopen原创 2017-08-18 23:40:30 · 6741 阅读 · 1 评论 -
TypeError: Value passed to parameter 'targets' has DataType float32 not in list of allowed values: i
程序报错:解决办法:label_holder = tf.placeholder(tf.float32,[batch_size])改为:label_holder = tf.placeholder(tf.int32,[batch_size])原创 2017-08-18 23:46:52 · 4740 阅读 · 0 评论 -
ubuntu下安装pip3以及pygame教程
在Python2中安装pygame:sudo pip install pygame在Python3中安装pygame:sudo pip3 install pygame若出现以下现象,则表示未安装pip3因此需要先安装pip3:sudo apt-get install python3-setuptoolssudo easy_install原创 2017-08-14 13:51:29 · 1156 阅读 · 0 评论