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

Replace PyQt5~=5.15.4 with PyQt5~=5.14.1 in requirements.txt #41

Closed
INF800 opened this issue Nov 28, 2021 · 8 comments
Closed

Replace PyQt5~=5.15.4 with PyQt5~=5.14.1 in requirements.txt #41

INF800 opened this issue Nov 28, 2021 · 8 comments

Comments

@INF800
Copy link

INF800 commented Nov 28, 2021

Need to downgrade for avoiding PyQt5.sip not found error. Tested in windows anaconda python 3.7.11.

@ch-sa
Copy link
Owner

ch-sa commented Dec 5, 2021

Interesting cause I newer import PyQt5 sip anywhere.

Did you try installing it manually? → pip install PyQt5-sip

@INF800
Copy link
Author

INF800 commented Dec 6, 2021

PyQt5-sip is internally imported by PyQt5. Yes I tried installing manually but I think there are some low level changes in either the latest version of PyQt5 or PyQt5-sip. Easiest approach was to downgrade PyQt5.

@INF800
Copy link
Author

INF800 commented Dec 6, 2021

I tried it on my windows

@ch-sa
Copy link
Owner

ch-sa commented Dec 6, 2021

Ok, might add a note referring to this issue for windows users.

But for Linux users it seems to work flawlessly.

Thanks for raising the issue!

@ch-sa
Copy link
Owner

ch-sa commented Dec 15, 2021

Hey @INF800,

I am still on this. Yet it takes some time as I currently don't have access to a Windows machine.

Was your machine a 64 or 32 bit architecture?

@INF800
Copy link
Author

INF800 commented Dec 15, 2021

It was 64 bit high end machine

@INF800
Copy link
Author

INF800 commented Dec 15, 2021

An approach similar to this worked for me https://stackoverflow.com/a/62299050

@ch-sa
Copy link
Owner

ch-sa commented Dec 27, 2021

Did the change for windows compatibility. Though would like to have a proper solution for this at some point as this seems not necessary for *nix platforms.

@ch-sa ch-sa closed this as completed Dec 27, 2021
ch-sa added a commit that referenced this issue Jan 6, 2022
 - make URLs in docs absolute
 - update shields
 - extend the setup.py
 - add a pyproject.toml with build infos
 - specify lower PyQt5 version for windows

Closes: #47
Relates: #41
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