Unsolved PyQt5: Could not find QWebEngineProcess.exe, perhaps a unicode problem?
-
@midn Maybe.
-
And? I can't really say anything else, this is all I know of concerning the problem, and taking it out of a Unicode path is out of the question.
-
the unicode part of the path was brokenly encoded/decoded
I don't know, maybe you would get some help if you showed what this was? Or, perhaps you ought check it can find all its required dependent libraries. Or, did you build Qt yourself, or get it pre-built, and is the QWebEngine stuff fully at the same/latest version (I believe it;s a separate option in downloads, or did you maybe try a reinstall? I & others use QWebEngineProcess stuff, from PyQt and on Windows & Linux (myself), and it works fine without such a problem, so it's hard to know what your issue might be....
-
I simply did "python -m pip install pyqt5" and "python -m pip install pyqtwebengine". On Linux it works fine, but on Windows it breaks with this error.
The Unicode part should spell Адміністратор. At the beginning it calls print(QLibraryInfo.location(QLibraryInfo.LibraryExecutablesPath)), then I trigger the error.
C:\Users\Адміністратор\Downloads\test>start.bat C:/Users/Àäì³í³ñòðàòîð/AppData/Local/Programs/Python/Python37-32/lib/site-packages/PyQt5/Qt/bin Could not find QtWebEngineProcess.exe
-
@midn
It does not look great, does it?and taking it out of a Unicode path is out of the question.
If I wanted to know, I would temporarily test, if I could, by installing/trying with a path which does not have this Unicode problem. Then I would know if that was indeed the problem.
At this point --- unless you get a better answer here in a while --- I think I would go to the PyQt mailing list and report there. I'm not sure this will be a PyQt issue rather than a Qt one, but it might be, or if you ask nicely there are clever people there who might recognise if it's a Qt issue and explain anyway. Otherwise I guess it's the Qt bug reports.
-
Yup, that did indeed turn out to be the problem. I reinstalled Python directly to C:/ and it works without issues now. Though I'm very afraid this will take a while to bug fix, and I'm on a tight deadline :P.
-
Okay, but there must be some way to at least avoid the issue for now, no? I find it very strange that no one seems to have had this issue with QWebEngineView before with PyQt5.
-
As I said, taking it out of a Unicode path is out of the question, because above you can see that the only Unicode part is the username, which I have no control over, and so far 100% of computers I've tested this on friend's computers have Unicode usernames.
-
@midn
As I said to you earlier, at this point why not give a try asking over at the PyQt mailing list? -
I messaged the address, it didn't seem to appear anywhere though. Perhaps I just don't know how to use mailing lists.
-
@midn
Once you sign up you email questions to pyqt@riverbankcomputing.com. You should then be subscribed, and you will see a copy of the email you sent and any responses to it arriving in your Inbox. -
Ah, didn't realize I had to be subscribed for it to count, thanks.
-
@midn
Like I said, you have to go to page https://riverbankcomputing.com/mailman/listinfo/pyqt FIRST and from there fill in your details to sign up! Then (I think) you get an email confirming, and the email address of where to post your questions to. When you send a email to that, you get a copy back because you're subscribed to (everything) which gets posted to that group, and you get emails for everybody else's posts from them on. You look through those, hoping to see someone has replied to your post! :)