Page 1 of 1

installing Python 3.5 possible?

PostPosted: Fri Mar 02, 2018 9:50 pm
by raidsm
Hi!

I would like to install Home Assistant with requires python 3.5 Is there a easy way to install python 3.5 on the Network Space 2?
I know there is a add-on but the python version is 2.7....

many thanks!

Re: installing Python 3.5 possible?

PostPosted: Sat Mar 03, 2018 8:59 am
by fvdw
There is an issue with compatibilety of some programs why we need stick to 2.7. Of course I could try to compile version 3 for you as special add on. But remember some other addons will not be compatible with it and no longer work. I will give it try coming week

Re: installing Python 3.5 possible?

PostPosted: Sat Mar 03, 2018 1:06 pm
by raidsm
Great thanks!

You :rock

Re: installing Python 3.5 possible?

PostPosted: Sun Mar 11, 2018 10:07 pm
by fvdw
I succeeded to compile it, it must be installed as addon

Unpack the zip fil to get the tar.gz archive and put the file in fvdw/addons folder connect via ssh and unpack it /direct-usb/fvdw/addons
Code: Select all
cd /direct-usb/fvdw/addons
tar -xzvf  usr-local-python-3.6.4-3mar18.tar.gz
cd /

Furthermore a few new libs must be installed in /usr/lib, see second archive
put it fvdw share and when connected to via ssh give command

Code: Select all
cd /usr/lib
tar -xvf /direct-usb/fvdw/libgdbm5-libgdbmcompat4.tar


I checked it and python worked.

Let us know your experiences

Download links:
usr-local-python-3.6.4-3mar18.tar.part1.rar
usr-local-python-3.6.4-3mar18.tar.part2.rar
libgdbm5-libgdbmcompat4.tar

Note: you must be a member of donator group to be able to download the files

Re: installing Python 3.5 possible?

PostPosted: Mon Mar 12, 2018 3:17 pm
by raidsm
Thanks you very much ! As I’m out for the day, I’ll test it this week and let you know how it turns out as automation like home assistant is a great add on for this nas. Thanks!