[Solved] PyQt4 dosent install with PIP

Archived topics about LMDE 1 and LMDE 2
Locked
Karakoram

[Solved] PyQt4 dosent install with PIP

Post by Karakoram »

I use PyCharm and i try to install PyQt4 with pip.

I use this command in the terminal : « pip3 install --user PyQt4 »

I got this message: « Could not find a version that satisfies the requirement PyQt4 (from versions: )
No matching distribution found for PyQt4 »

It look strange, maybe something is not compatible with Debian ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
killer de bug

Re: PyQt4 dosent install with PIP

Post by killer de bug »

Best is to use apt to install Python libraries/packages.

I would start with: apt install python3-pyqt4
Karakoram

Re: [Solved] PyQt4 dosent install with PIP

Post by Karakoram »

Thank's

Now it's working.

But i don't understand what i do. When i do in the terminal « pip3 list » i cant see PyQt4 ans SIS. But in my code editor i can import PyQt4.

What is the difference between pip and apt ?
killer de bug

Re: [Solved] PyQt4 dosent install with PIP

Post by killer de bug »

I think that apt installs the package globally in the system. pip install it locally in a library. Therefore pip can only list what it installed in its library. But I'm not 100% sure.
Karakoram

Re: [Solved] PyQt4 dosent install with PIP

Post by Karakoram »

Well Linux is a nice adventure.

I do my first hello world with Qt and i am very happy of what i saw.

Thank you again.
Locked

Return to “LMDE Archive”