安装pybrain库报错no module named ‘structure‘问题解决

解决方法

1.下载git:http://git-scm.com/downloads

在这里插入图片描述
ps:如果遇到无法正常下载安装包的情况(没有的话请忽略,直接跳到第2步)

首先,获取解析github.com的IP地址http://ip.tool.chinaz.com/github.com

在这里插入图片描述

其次,找到c盘->windows->system32->drivers->etc路径下的hosts文件,通过编辑器打开,在最后一行添加ip地址 github.com

在这里插入图片描述
在这里插入图片描述

2.安装完成后,打开Git CMD输入命令pip3 install git+https://github.com/pybrain/pybrain.git

在这里插入图片描述

问题解决啦

猜你喜欢

转载自blog.csdn.net/weixin_45844767/article/details/125266614