2017-03-08 183 views
0

我是新来的python和我不断收到错误,当我试图安装新的软件包。试图安装fann2 python库,错误:“失败,错误代码1”

这次我尝试安装快速人工神经网络库fann2。

我试图从命令提示符安装,运行从Python 3.6路径下面一行:python -m pip install fann2

这里是我的日志:

* Failed building wheel for fann2 


*Command "C:\Users\AppData\Local\Programs\Python\Python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\AppData\\Local\\Temp\\pip-build-q8ncpiq8\\fann2\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\AppData\Local\Temp\pip-v7aj23q_-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\AppData\Local\Temp\pip-build-q8ncpiq8\fann2\ 

回答

1

我试图安装时同样的错误Mycroft AI

它看起来像python安装程序要求您已经在系统路径的某处安装了FANN库。

你可以从他们的download page here中获得fann文件,但是我只是从AUR那里得到的,所以我可能对你的环境没什么帮助。

相关问题