2017-03-08 184 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那裏得到的,所以我可能對你的環境沒什麼幫助。