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

[Bug report] - PyQt5 pip version-finding issue in iblenv requirements installation #336

Closed
chris-langfield opened this issue May 11, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@chris-langfield
Copy link

chris-langfield commented May 11, 2023

Describe the bug
When installing from the requirements.txt file in iblenv, pip cannot find a compatible PyQt5 version.
To Reproduce
Following steps in https://github.com/int-brain-lab/iblenv#install-from-scratch for clean install. After using the workaround in #335 to get past the PyQt5 hanging problem, the following line causes this error:

pip install --requirement requirements.txt

The message:

Collecting pyopengl
  Using cached PyOpenGL-3.1.6-py3-none-any.whl (2.4 MB)
ERROR: Ignored the following versions that require a different python version: 0.7 Requires-Python >=3.6, <3.7; 0.8 Requires-Python >=3.6, <3.7
ERROR: Could not find a version that satisfies the requirement PyQt5==5.12.3 (from versions: 5.14.0, 5.14.1, 5.14.2, 5.15.0, 5.15.1, 5.15.2, 5.15.3, 5.15.4, 5.15.5, 5.15.6, 5.15.7, 5.15.8, 5.15.9)
ERROR: No matching distribution found for PyQt5==5.12.3
@chris-langfield chris-langfield added the bug Something isn't working label May 11, 2023
@chris-langfield chris-langfield marked this as a duplicate of #335 May 11, 2023
@chris-langfield chris-langfield changed the title [Bug report] - PyQt5 installation hangs on license accept prompt in iblenv installation [Bug report] - PyQt5 pip version-finding issue in iblenv requirements installation May 11, 2023
@chris-langfield chris-langfield marked this as not a duplicate of #335 May 11, 2023
@chris-langfield
Copy link
Author

Removing the version lock for non-Windows systems as suggested in this version of the README seems to work, but is that lock still important/needed?

6171812

@bimac
Copy link

bimac commented Jan 3, 2024

without having tested this myself - locking PyQt5 to a specific version doesn't sound like a great idea to me

@bimac
Copy link

bimac commented Jan 3, 2024

#327

@k1o0
Copy link
Contributor

k1o0 commented Apr 22, 2024

See #327

@k1o0 k1o0 closed this as completed Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants