oeplatform icon indicating copy to clipboard operation
oeplatform copied to clipboard

Cannot install rdflib>=6.0

Open henhuy opened this issue 3 years ago • 8 comments

When installing requirements, following error shows up:

Pip subprocess error:
ERROR: Could not find a version that satisfies the requirement rdflib>=6.0 (from versions: 2.4.1, 2.4.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.4.0, 4.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2, 4.2.0, 4.2.1, 4.2.2, 5.0.0rc1, 5.0.0)
ERROR: No matching distribution found for rdflib>=6.0

python version 3.6.15 pip version 21.3.1

henhuy avatar Dec 07 '22 12:12 henhuy

Works with python=3.9. (from README)

python=3.6 comes from environment.yml and in Dockerfile python=3.7.10 is used. We should decide for one version!

henhuy avatar Dec 07 '22 12:12 henhuy

Related to #1127

henhuy avatar Dec 07 '22 12:12 henhuy

I agree.

There is one small problem:

On the production server, the apache mod_wsgi has python 3.6 locked in. @adelmemariani: at some point we need to update the system python3 to a higher version then 3.6, because it is getting old, but this has to be done carefully and will need some proper backup and downtime planned!

wingechr avatar Dec 07 '22 13:12 wingechr

We should harmonize this. Since the Python version plays a role in several places, it would be great to define it in a central place and import it into the other files.

jh-RLI avatar Dec 07 '22 16:12 jh-RLI

We never updated the conda use case as no one was using it. The docker python version was overlooked. The ci now tests for python 3.8 and 3.9 ....

jh-RLI avatar Dec 07 '22 16:12 jh-RLI

@adelmemariani eventually we need to upgrade the extremely old python3.6 on the production server. is there any news on that?

wingechr avatar Mar 18 '23 08:03 wingechr

We are finally able to update our infrastructure. This issue will be resolved by updating the Python version. 🥳

jh-RLI avatar Mar 21 '24 17:03 jh-RLI

good news! thanks

henhuy avatar Mar 22 '24 07:03 henhuy