installing Python 3.5 possible?

installing Python 3.5 possible?

Postby raidsm » Fri Mar 02, 2018 9:50 pm

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!
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: installing Python 3.5 possible?

Postby fvdw » Sat Mar 03, 2018 8:59 am

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
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: installing Python 3.5 possible?

Postby raidsm » Sat Mar 03, 2018 1:06 pm

Great thanks!

You :rock
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm

Re: installing Python 3.5 possible?

Postby fvdw » Sun Mar 11, 2018 10:07 pm

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
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: installing Python 3.5 possible?

Postby raidsm » Mon Mar 12, 2018 3:17 pm

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!
raidsm
Donator VIP
Donator VIP
 
Posts: 153
Joined: Wed May 13, 2015 11:40 pm


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: Google [Bot] and 5 guests