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

Consider move to Pyside6? #55

Open
lauramurgatroyd opened this issue Nov 24, 2022 · 7 comments
Open

Consider move to Pyside6? #55

lauramurgatroyd opened this issue Nov 24, 2022 · 7 comments

Comments

@lauramurgatroyd
Copy link
Member

https://www.pythonguis.com/faq/pyside2-vs-pyside6/

@lauramurgatroyd
Copy link
Member Author

lauramurgatroyd commented Nov 25, 2022

I updated to pyside6 on this branch: https://github.com/paskino/qt-elements/tree/pyside6

When I try to run examples I get an error:

qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

@lauramurgatroyd
Copy link
Member Author

lauramurgatroyd commented Nov 28, 2022

If I install from pip I have no problems. I believe this is because it gives me also:
PySide6-Addons-6.4.1 PySide6-Essentials-6.4.1 shiboken6-6.4.1

I can't get any of these from anaconda

@lauramurgatroyd
Copy link
Member Author

Pip seems to get these for me automatically if I make a conda environment and then pip install eqt, as long as I don't do --no-deps

@lauramurgatroyd
Copy link
Member Author

So maybe the conda recipe would work as long as we make sure we pip install in there?

@lauramurgatroyd
Copy link
Member Author

I'll make a local conda build and install to test what happens

@lauramurgatroyd
Copy link
Member Author

It doesn't work, it seems running pip install in the conda recipe still doesn't get me the needed packages from pypi

@DanicaSTFC
Copy link
Collaborator

We added a new constrain on python to be <3.12. The goal is to remove this constrain in the future, probably by upgrading to pyside6. See #161 by @jcornall

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