padmalcom / ttsdatasetcreator

Apache License 2.0
23 stars 15 forks source link

Error while creating conda environment with pip install of python-datamatrix 0.12.0 #4

Open daresan opened 2 months ago

daresan commented 2 months ago

Hello! I stumbled over this following the readme: After executing conda env create --file environment.yml I get:

Pip subprocess error: ERROR: Could not find a version that satisfies the requirement python-datamatrix==0.12.0 (from versions: 0.0.0.1) ERROR: No matching distribution found for python-datamatrix==0.12.0

Next I tried: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple python-datamatrix==0.12.0 Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple ERROR: Could not find a version that satisfies the requirement python-datamatrix==0.12.0 (from versions: 0.0.0.1) ERROR: No matching distribution found for python-datamatrix==0.12.0

And next I looked up the available packages from here: https://pypi.org/project/datamatrix/#history And tried to replace the version in the environment.yml with 0.15.3 Unfortunately this version also seems to be not available in pip:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple python-datamatrix==0.15.3 Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple ERROR: Could not find a version that satisfies the requirement python-datamatrix==0.15.3 (from versions: 0.0.0.1) ERROR: No matching distribution found for python-datamatrix==0.15.3

So, now I removed the version from the environment.yml. With this it installs python-datamatrix 0.0.0.1: Downloading python-datamatrix-0.0.0.1.tar.gz (979 bytes)

Since this is not the desired version, I am wondering which to use. So far everything seems to work this way ( I am currently creating the datasets ).

padmalcom commented 2 months ago

Hi Daniel, you might want to try to use a newer python version and try to install all dependencies afterwards. 3.8 is quite old and I did not update the dependencies since then. To make sure everything is up to date, I'recommend to create a new environment based in 3.10, Run the tool and install the missing modules step by step.