-
Notifications
You must be signed in to change notification settings - Fork 220
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
Qt5 breaks Matplotlib ? #1249
Comments
This only affects conda packages. Question: Do you have libselinux installed in your system? |
Yes, I have libselinux1 2.5-3 packaged by Debian. Where does the issue come from ? |
Please show the output from |
|
I cannot reproduce this on the latest ArchLinux. Can you install Can you show the output of |
Let the outputs attached: Let me know if you need more. Cheers |
Thanks. Looking at your
.. so this is not conda's I am not sure why you have The best approach is to try not to set that variable except in the terminal session where you are trying out some locally built versions of some libraries (or whatever the reason was that you have it set). For more information on the harm please see https://gms.tf/ld_library_path-considered-harmful.html:
.. and https://wiki.debian.org/RpathIssue
|
Thank you. Yes, if I unset I need to think how to re-configure. Thank you again for the fix and the explanations. |
I have also met this problem, following @mingwandroid's suggestion, I removed the
The simple.py script could be
If I comment out
I have search the web, but found no helpful message about how to solve this issue. I am not familiar with the qt and xcb package, I guess this still has something to do with the qt package and xcb. Is there anyway to fix this problem? |
Indeed, the initial comment was wrong. The error is caused by qt5.x, not relevant to matplotlib, since executing the script here (matplotlib/matplotlib#8058 (comment)) also shows the same error message. |
I do not believe that Matplotlib is relevant here, this is an issue with qt5 only. Only commenting here because I think the last comment is wrong, please respond at #1440 |
Dear,
I am running under Debian testing and Python 3.
The environment is created by:
conda create -n arf python=3
.And, the simple test is:
python simple.py
with the small scriptsimple.py
, i.e.,If
conda install matplotlib=1.5.1
then it is ok.However, if
conda install matplotlib=1.5.3
then it crashes with the message:I did not dive too much into the issue. It appears to me that the problem comes from Qt5.
Matplotlib 1.5.1 is built against the version Qt 4.8.7-4 and pyqt 4.11.4 ; and the version 1.5.3 against the version 5.6.0.
Is it system side ? If yes, I have no clue why ?
Or is it
conda
side ?Or maybe the upgrade Qt4->Qt5 is not fully ready ? If yes, I could provide more elements to try to fix the dependency issue.
Cheers
The text was updated successfully, but these errors were encountered: