altendky / pyqt-tools

Qt tools including PyQt Designer and QML plugins
Other
249 stars 39 forks source link

ERROR: Cannot install pyqt6-tools==6.0.1.3.2, pyqt6-tools==6.0.2.3.2, pyqt6-tools==6.0.3.3.2 and pyqt6-tools==6.1.0.3.2 because these package versions have conflicting dependencies. #109

Closed z3n-k3rn3l closed 1 year ago

z3n-k3rn3l commented 1 year ago

While trying to install pyqt6-tools getting below error

ERROR: Cannot install pyqt6-tools==6.0.1.3.2, pyqt6-tools==6.0.2.3.2, pyqt6-tools==6.0.3.3.2 and pyqt6-tools==6.1.0.3.2 because these package versions have conflicting dependencies. The conflict is caused by: pyqt6-tools 6.1.0.3.2 depends on pyqt6-plugins<6.1.0.3 and >=6.1.0.2.2 pyqt6-tools 6.0.3.3.2 depends on pyqt6-plugins<6.0.3.3 and >=6.0.3.2.2 pyqt6-tools 6.0.2.3.2 depends on pyqt6-plugins<6.0.2.3 and >=6.0.2.2.2 pyqt6-tools 6.0.1.3.2 depends on pyqt6-plugins<6.0.1.3 and >=6.0.1.2.2

BlueBeret commented 1 year ago

have you found any solution to this issue?

dabucejo commented 1 year ago

I ran into this issue as well using my Mac. I looked around on the net and tried a way to get around this plugin version issue so that I can use QtDesigner, and that was to reinstall Python 3.9; I had Python 3.10 installed when I ran into this specific issue. I reinstalled to the 3.9.13 version this morning, and then I executed the "pip install pyqt6-tools" on command line, and the installation seemed to go through without errors.

For references, I downloaded the package installer for 3.9 here: https://www.python.org/downloads/macos/

Others on one of the external forums have mentioned that there are ways to try and keep 3.10 and higher and one of them seemed to require uninstalling and installing various components. The other option (for keeping 3.10) is to download QtDesigner by fman (see link below and look for comment about the fman QtDesigner link). I've tried that version of the QtDesigner and it installed without issues but I didn't get chance to integrate any 3.10 code with it and so I don't know the outcome over the overall compilation experience.

For references, here is where I found some of the information about reverting to Python 3.9: https://stackoverflow.com/questions/69870103/how-to-fix-pyqt6-tools-installation-error

altendky commented 1 year ago

Hey all, this is a common note I'm adding to several issues.

I apologize for the hassle you have all dealt with around this project. I don't work with Qt anymore and every time I've come back to this I have run into various problems trying to get it going again. This time I made it through the five days of work to get the release out (fingers crossed that it actually works). It would be great to get some community involvement around updating and debugging whatever issues come up. Maybe the next Python, Qt, or PyQt release will provide an opportunity for someone to offer that. Maybe I'll find time to continue cleaning this up so it's a bit more maintainable. If interested, there's been some discussion about the project at https://github.com/altendky/pyqt-tools/issues/110.

In an effort to make it easier to monitor issues around the latest release I am closing this issue. Discussion can continue if still applicable, but I want to make it easier to move forward. If there are issues with the new releases, please open new issues.

Things to be aware of that may ease some cases: