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

Pip version < 24.1 needs to be installed prior to doing pip install -r requirements.txt #3

Open
rayryeng opened this issue Nov 28, 2024 · 0 comments

Comments

@rayryeng
Copy link

When creating the conda environment with Python 3.8.5, attempting to install the required modules through pip install -r requirements.txt produces this error:

Requested pytorch_lightning==1.8.3 from https://files.pythonhosted.org/packages/ed/29/3ff2f0e4fcf79309f319ac1f8b3d729959b051007e6fe30b3d21b77b54a0/pytorch_lightning-1.8.3-py3-none-any.whl (from -r requirements.txt (line 9)) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
    torch (>=1.9.*)
           ~~~~~~^
Please use pip<24.1 if you need to use this version.

You will need to downgrade pip in order for this to work. The default version of pip in this environment is 24.3.1.

As such:

pip install "pip<24.1"

If you'd like me to make a pull request that modifies the README to specify this, please let me know.

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

1 participant