#🔒 I can’t install PyQt6-WebEngine
82 messages · Page 1 of 1 (latest)
@rocky moon
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Just installed Python
why did you install Python 3.4.2?
Compatibility?
Are we on XP again?
Nah
pyqt6 webengine says it's python 3.9+
is that a question? Why did you choose that version?
I'm pretty sure for PyQt6 you'll need at least 3.10 or so.
Ok, I’ll install the latest Python then
For compatibility
You can't on that old of an OS
with what?
I can. It’s kernel NT 10 modified with Windows XP system files
so Windows 10, basically
maybe you can, with this much system modification who knows
Note "NT 10" is used by Windows 11 too
So you really need the full version
Windows 11 is Windows 10 with a webview on top /hj
But yeah, you want anything later than 3.9, preferably one of the latest ones.
And then you should be able to at least attempt an install.
I'm still curious about 3.4.2: it's not even the latest 3.4.x release. Very odd.
Yeah, go through that.
Then open a terminal and type py to confirm that you installed it.
Just do the typical MSI then, it should still be there.
Is this correct?
Should be, yeah.
There are other options too
You can click on the "disable path length limit" part if you want.
Is it better?
Then "Close", and after that, you'll want to get a terminal and type py.
Ok
I'd recommend it, it might avoid you problems in the future.
Now I’m here
Thank you
Can you get to a Powershell window?
Or well, cmd works too, I like pwsh more. But basically, you want a terminal.
lol it says try 6
What?
Read the screen
Put $PSVersionTable in PowerShell real quick just to sanity check the version
Yeah, what is pscore6
Now type py.
The pscore6 thingy is basically telling you to get a newer version of Powershell.
Ok
Now you can try installing the webengine.
One thing though: you'll want to do py -m pip instead of just pip.
Doing it through py -m will ensure that it installs to the correct environment so that when you run py something.py, it can see that the package is installed.
And it's also just good practice in general.
See the >>> at the start?
That means you're in the REPL which is where you run Python code.
Yes
That's why I said to do exit since that gets you out of the REPL and into the terminal.
I just opened it from the XP start menu
A cmd one?
Sure
It seems to be working
Looks okay, just wait for it to finish.
if you see any errors or anything, let us know
Now this is the screen
Looks like it worked.
Ok. Is everything solved?
It seems like you were able to install PyQt6-WebEngine, at least.
Thank you all for the help 👍🏻
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.