随笔分类 -  bug

平时遇到的问题
摘要:讲文件放到main下仍是出现这个错误。 最终解决办法:将工作目录添加到eclipse的gopath中。放到最前面。 如我新建了一个项目as;路径在D:\work\gowork 阅读全文
posted @ 2020-06-29 17:07 pergrand 阅读(496) 评论(0) 推荐(0) 编辑
摘要:linux问题 1.linux : Address already in use 解决方案被占用的那个端口号5000netstat -apn | grep 5000 最后一排其实就pid,通过kill -9 pid 就可以杀掉对应的进程kill -9第二:ps -ef | grep 5000这样就可 阅读全文
posted @ 2020-06-11 13:49 pergrand 阅读(130) 评论(0) 推荐(0) 编辑
摘要:1.配置nameserver vi /etc/resolv.conf nameserver 192.168.10.10 2.查看网卡: nmcli d 3.修改dns cd /etc/sysconfig/network-scripts/ vi ifcfg-ens160 DNS1= 192.168.1 阅读全文
posted @ 2020-06-11 11:46 pergrand 阅读(3365) 评论(0) 推荐(0) 编辑
摘要:问题:配置好python3的环境,python --version 查看也是python3。但是pip 安装时,默认安装到python2的环境下。 pip install XXX 时是使用 /usr/bin/下pip 的命令; 所以将原来的pip 改名 cd /usr/bin mv pip pip_ 阅读全文
posted @ 2020-06-11 11:38 pergrand 阅读(471) 评论(0) 推荐(0) 编辑
摘要:在安装sklearn时报错如下: ERROR: Could not find a version that satisfies the requirement threadpoolctl>=2.0.0 (from scikit-learn->sklearn) (from versions: 1.0. 阅读全文
posted @ 2020-05-21 16:54 pergrand 阅读(20628) 评论(1) 推荐(3) 编辑
摘要:在keras可视化模型输出时from keras.utils import plot_modelplot_model(model, to_file=‘model.png’) 但是提示错误OSError: `pydot` failed to call GraphViz.Please install G 阅读全文
posted @ 2020-05-19 14:57 pergrand 阅读(319) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示