-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Co-installation with official PySide2 wheel #70
Comments
QtSide2 should follow the correct plugin loading logic. Please report this to them. |
There are a litany of problems with what you are attempting to do that I have commented over at the Qt bug report. Also if Qt is attempting to load Python extension modules from the Qt plugins directory instead of site-packages then that's clearly a bug in how PySide2 operates. qt.conf is the only way to 'correctly' relocate a Qt installation. |
To clarify, my intent is to use both the official PySide2 wheel and the conda-forge Matplotlib package. But, Matplotlib triggers the installation of PyQt and Qt packages. This latter installation brakes PySide2. What do you think is the best solution to this circular issue?
I believe that something similar was reported here: https://stackoverflow.com/questions/51367446/pyside2-application-failed-to-start |
So we do have |
I have used the |
Why doesn't I can remove manually, but then other users may have the same issue. |
Lack of removal is a bug and I'll fix it, but fundamentally this course of action (co-installation as you incorrectly term it for it is nothing of the sort, instead it's talking two incompatible software ecosystems, ramming them together and hoping for the best) is doomed to fail. |
What would be the "two incompatible software ecosystems"? Did you mean the mixing of conda and pip? |
When installing things involving compiled code pip and conda are mutually incompatible, unless you are lucky. You are never lucky with packages as large as qt. The odds are stacked against luck in the face of so much code. Please read up on binary compatibility. |
I understand the issues with binary compatibility and that you have a lot of experience with the Anaconda ecosystem, but I thought that it was possible by (somehow) carefully wrapping the conda package. In other words, does it mean that this @teoliphant's statement is not always valid? |
Pure-python stuff works mostly well, anything else YMMV. I already explained why though, so I'm not sure why you are asking me to contradict Travis here? |
It is not. |
Got it! Your statement is what I was actually looking for. I was not able to find nothing similar in the official Anaconda documentation, while there are a few contradictory statements on SO, Reddit and other similar sites. |
This statement was made prior to the wide-spread use of "wheels" . Binary
wheels running around complicate matters significantly. So, I would now
modify my statement to exclude wheels.
Ray is definitely the expert here.
…On Mon, Jul 30, 2018 at 1:46 PM giumas ***@***.***> wrote:
I understand the issues with binary compatibility and that you have a lot
of experience with the Anaconda ecosystem, but I thought that it was
possible by (somehow) carefully wrapping the conda package.
In other words, does it mean that this @teoliphant
<https://github.com/teoliphant>'s statement
<http://technicaldiscovery.blogspot.com/2013/12/why-i-promote-conda.html?showComment=1389686251212#c553461335301842646>
is not always valid?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPjoCyKDWNSWuCzgR3SdBFKAKqrRcHaks5uL1SDgaJpZM4VmcdC>
.
|
Thanks @teoliphant, you have the depth of knowledge though! I wasn't sure when wheels came into existence. |
The co-installation with the official PySide2 wheel brakes this latter: https://bugreports.qt.io/browse/PYSIDE-761
The issue should be related to the .qt-post-link.bat file. It looks like a qt.conf file is generated which assumes a layout different than the one PySide2 provides, and thus this leads to issues to finding the plugins.
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: