-
Notifications
You must be signed in to change notification settings - Fork 32
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
ImportError: No module named 'sipdistutils' #14
Comments
The same problem is preventing me from even
|
i also have the same issue. i hope this problem will be fix soon. |
I see that the issue remains open, and I have the same error on Windows 10 x64 My environment: Python 3.6
PyQt5==5.7.1
Sip= 4.9.12 Were able to solve this problem? |
You might want to consider installing the development package for python-sip. This is required for building. |
It seems like the pip version of sip does not install sipdistutils. To install it from source, you can do that:
|
You can get the sipdistutils.py from riverbank's mercurial server, i.e. from here. It is self-contained. Just place it into your Python site-packages folder ... |
This issue is driving me nuts, TBH. I followed the suggestion in the last comment, but it doesn’t change anything about the error message from Frescobaldi:
|
sincere-music, are you installing sip to python2 by any chance? Unless your default python is 3.x, you have to replace 'python' by python3 in tmattio's instructions. |
Thanks ccmaass, that really got me a large step forward.
How should I go about to make Python 3.6 find PyQt5? |
Some more chapters to the story: I noticed that pip wasn’t at the most recent version, and after an awful many turns (including recompiling python3.6 to circumvent an issue with zlib – I can’t believe those things are so convoluted…) I have a python3.6 and matching pip that seem to work fine…
|
I did find this: https://stackoverflow.com/questions/45012581/how-to-import-python3-lib-in-python3-6, but the virtual environment part doesn’t apply to my use case at all. |
Finally, I compiled a reliable way to install frescobaldi with all its dependencies (except for MIDI support) on Ubuntu 16.04:
|
I confirm it works. Here's a two commands example:
|
It should now be downloaded from here:
|
IIUC, SIP v5 should fix this problem, see this message from a Riverbank developer two months ago: |
Well, welcome to 2020 everyone. |
I recently successfully managed it working by using colab notebook by google and
|
This bug still exists if you follow the pip install route, but it does work via the apt-get route. tested on ubuntu 18.04 |
This bug happens on Python 3.8 and Windows 10, and I'm not even using a virtualenv to install it. Fails both through PyCharm and CMD |
sipdistuils has been removed from sip5. Any works on this issue? |
On Fedora it's: |
This issue is outdated; we don't use the legacy |
On Ubuntu 16.04LTS in a virtualenv, building
python-poppler-qt5
fails:But
sip
is installed:What am I missing?
The text was updated successfully, but these errors were encountered: