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

Missing libpyqt5.so #44

Closed
hhslepicka opened this issue Jan 17, 2019 · 8 comments
Closed

Missing libpyqt5.so #44

hhslepicka opened this issue Jan 17, 2019 · 8 comments

Comments

@hhslepicka
Copy link

hhslepicka commented Jan 17, 2019

Issue:
On previous releases of the PyQt package for this channel the PyQt plugin was available but at the latest it is gone.

  • pyqt-5.6.0-py36h8210e8a_8.tar.bz2 includes the plugin under <>/plugins/designer/libpyqt5.so
  • pyqt-5.6.0-py36h13b7fb3_1008.tar.bz2 is missing it.

What changed?
Can we have a release with the plugin back?
If not, what is the recommended approach?

Thank you

@hhslepicka
Copy link
Author

hhslepicka commented Jan 19, 2019

Comparing the logs produced by CircleCI for Python under Linux I saw this:

The Qt Designer plugin was disabled because a dynamic Python library couldn't
be found.
The qmlscene plugin was disabled because a dynamic Python library couldn't be
found.

I will keep my investigation going and add more evidence that can help to find a solution in here...

Looks like at the new gcc7 label, which is also used for the PyQt missing the designer plugin, python is statically linked (ref. conda-forge/python-feedstock#222 (comment))... in the version that has the plugin Python was dynamically linked and that is the reason why the plugin was built and installed.

Question remaining... How to address this?
Should we patch the configure.py to bypass this verification? What would be the downside of it?

more to come...

@hhslepicka
Copy link
Author

Here is a workaround for other people facing the same problem:

conda install -c conda-forge/label/cf201901 pyqt

This will install a version that still has the plugin.

@CJ-Wright
Copy link
Member

CJ-Wright commented Jan 24, 2019

The newer version has been built with gcc7.
Relevent PRs:
#41
#42

@CJ-Wright
Copy link
Member

Also:
attn: @conda-forge/pyqt

@hhslepicka
Copy link
Author

@CJ-Wright exactly.
I'm wondering if a patch to configure.py would be a good way out of this situation.

@CJ-Wright
Copy link
Member

I have no idea. At this point I'd put up a PR and see if it works. People may be able to comment better on a PR than an issue.

@ocefpaf
Copy link
Member

ocefpaf commented May 24, 2019

@hhslepicka please test this against the new packages and, if the problem persists, re-open the issue.

@ocefpaf ocefpaf closed this as completed May 24, 2019
@hhslepicka
Copy link
Author

@ocefpaf the library is there now but with linking issues. The new issue is open.

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

3 participants