datalad / datalad-catalog

Create a user-friendly data catalog from structured metadata
https://datalad-catalog.netlify.app
MIT License
15 stars 11 forks source link

failed install #490

Closed CPernet closed 2 months ago

CPernet commented 2 months ago

hi guys,

I'm trying to install on a VM running CentOS and I got the following error

ERROR: Could not find a version that satisfies the requirement datalad-catalog (from versions: none)
ERROR: No matching distribution found for datalad-catalog

now checking the release it is CentOS Linux release 7.9.2009 (Core) from 2020-09-29.

any idea what I could do to fix that? thx

CPernet commented 2 months ago

PS I can also sudo on that VM

jsheunis commented 2 months ago

Hey @CPernet. I haven't encountered this before. are you installing from pypi? or github? what version of python is running on the system? And can you install datalad and other datalad extensions without problems? Can you share the command and some more detailed output?

CPernet commented 2 months ago

thx @jsheunis

python -m venv my_catalog_env
source my_catalog_env/bin/activate
pip install datalad-catalog 

--> error

same when cloning from GitHub happy to remote with you if you wanna check

jsheunis commented 2 months ago

After meeting with @CPernet, we noted that the installed python version on the VM is 3.6.x, which is older than the minimum supported 3.7 of datalad-catalog. Also note that the minimum version will be upgraded soon, see https://github.com/datalad/datalad-catalog/issues/491. So best is to install minimum 3.9, or latest.

CPernet commented 2 months ago

Centos7 OS fun ... by default can only operate python3.8 (or it needs to install a bunch of dependencies that it could not fetch automatically in my case). My simpler solution was to install miniconda and then bumped to python3.11 and of course, success :-) running the catalogue from my remote VM now

thx @jsheunis