Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
daresan opened this issue Jun 11, 2024 · 1 comment

Comments

@daresan
Copy link

daresan commented Jun 11, 2024

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants