padatious icon indicating copy to clipboard operation
padatious copied to clipboard

Installation - needs python3-fann2 on Ubuntu and Raspberry Pi OS

Open lnxusr1 opened this issue 5 years ago • 5 comments

I had a dependency issue in Ubuntu 18.04 and Raspberry Pi OS that required me to also install the FANN bindings. Recommend updating the Readme to include this dependency.

apt-get install python3-fann2

lnxusr1 avatar Jul 03 '20 14:07 lnxusr1

Hey there, is this the same issue as #21?

I just gave it a quick test and after installing this package 20.04 still couldn't find FANN source libs. Was there anything else you did while debugging that might have contributed to the fix?

krisgesling avatar Jul 07 '20 03:07 krisgesling

I’m not sure if it is the same issue, but seems to be related. Basically, the instructions in the readme are just missing the bindings for fann2 for python and this package satisfies that without any hoopla.

lnxusr1 avatar Jul 07 '20 14:07 lnxusr1

Which version of Python are you using? I think I was able to use python3-fann2 with Python 3.5 but needed to install FANN2 from source when using Python 3.7.

mbr4477 avatar Aug 13 '20 14:08 mbr4477

I was using python 3.8 on Ubuntu 20.04. Will do another fresh install to see if I can more finely pinpoint that though.

lnxusr1 avatar Aug 13 '20 16:08 lnxusr1

Indeed, the default on Ubuntu 20.04 is Python 3.8 which requires python3-fann2 instead of python3-fann as the instructions state. So worth adding a note somewhere that if you're using Ubuntu 20.04 you'll need the other library.

Log attached for reference from a fresh install of Ubuntu 20.04. ubuntu20_padatious_install_log.txt

lnxusr1 avatar Aug 13 '20 18:08 lnxusr1

I see docs are updated. thank you.

lnxusr1 avatar Dec 02 '22 01:12 lnxusr1