BenjV / SYNO-packages

43 stars 10 forks source link

Missing python >=2.7.10 package #6

Open Djang0 opened 6 years ago

Djang0 commented 6 years ago

Hi,

I've been trying to install your package to my syno, but it keeps requesting python >=2.7.10. I actually have 2.7.12 installed... what should I do?

Thanks in advance

DSM 6.1.6-15266 Update 1 on DS218

BenjV commented 6 years ago

I have Python 2.7.13-16 installed and no problem at all.

What is the package source you used? Or dit you installed it yourself without a package?

The latter won't work, because then the package does not know it is installed.

Djang0 commented 6 years ago

I downloaded this one : https://github.com/BenjV/SYNO-packages/blob/master/SickRage%20DSM%206%20noarch%20V1.0.spk

And the installed 2.7.12 python seems to be the defaultly install with DSM (my nas is brand new) because i did not installed it manually.

Do you think I should install a package manually (if yes how?)? Package center does not show anything else than python3 and python modules (I have registered the community packages)

BenjV commented 6 years ago

Synology uses some Python script and so hey distribute as of DSM 6 also an python version. But this is not supported by Synology and not installed via the package centre and so the package centre does not see it as installed. Add the SynoCommunity to the sources of the package centre. http://packages.synocommunity.com

Djang0 commented 6 years ago

I did. But no python package but python 3 which is not appropriate...

BenjV commented 6 years ago

Try here. Just pick the one for your NAS.

https://github.com/Safihre/spksrc/releases/tag/python-all

mendezg commented 6 years ago

I'm having the same problem. Unfortunately, the package linked on April 13 is no longer available. I imagine no one is making their own 2.7 python packages anymore since its already installed. There are 2 python packages available. One that adds additional modules to the existing python 2.7 installation and one that installs python 3. I'm not sure why the existing 2.7 installation isn't sufficient for Sickrage. Do we really need a third-party install? Would things work if we just remove the dependency check? If not then we need a new third-party 2.7 package.

BenjV commented 6 years ago

You are wrong. The python version which comes with DSM is a very rundimentaire python version which lacks lot of modules. Sickrage depends on the python 2 from the SynoCommunity nothing else will work.

mendezg commented 6 years ago

That is unfortunate. I was hoping the "Python modules" package Syno offered was designed to fill in those missing modules. Given that the "Python modules" package is inadequate, do you know of any third-party python 2 packages?

BenjV commented 6 years ago

Reading is difficult I see. The python 2 package from the SynoCommunity is mandatory.

mendezg commented 6 years ago

Link please.

BenjV commented 6 years ago

You have to add this link to the Package Sources in your package Center and then it will appear under Community when you have done a refresh of that.

http://packages.synocommunity.com

mendezg commented 6 years ago

I figured it out. The Synocommunity package system seems to be having problems. Most of their packages are no longer available when you view it as BenjV suggested (which is what started this whole issue). This means that when you look for python packages in your package manager you don't see anything other than the Synology packages which Ben feels strongly against. But you can still get the syno community packages.go to https://synocommunity.com/package/python and search for your Synology architecture. Each version is only available for a mishmash of architectures so you might have to pick an older version. Click your architecture to download the spk. Then use the package manager's manual install system to install the spk. After that BenjV's package can be installed (again with the manual install system). Hopefully the syno community package system will get up and running again soon.

BenjV commented 6 years ago

Has nothing to do with my feelings, just facts that the SickRage package only functions with the Python version of the SynoCommunity. And if you package center has problem showing the packages from the SynoCommunity you can try the refresh button in your package center on the "Community" page.