Python Forum
Newb Eric/Qt installation problem
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newb Eric/Qt installation problem
#1
Hi folks, just getting started with Python, so I loaded Eric6. I'm running Python 3.9.5 on Windows 10. I'm trying to follow Jaime Seuma's LogParser tutorial, but I'm stopped by what seems to be a Qt issue. Jaime instructs to right-click on a Qt button in the "Project View". No matter how many times and different ways I install Eric and Qt, those buttons do absolutely nothing for me at all. I see 2 Qt buttons, one plain, and one with a little green doodad. Both are dead. Any clues on how to get Qt to work with Eric6? Much thanks, paul
Reply
#2
from command line, use: pip install python-qt5
I'm not sure which Eric you refer to, so see: https://pypi.org/search/?q=eric
Reply
#3
Thanks Larz60+. I execute the command, I see

Collecting python-qt5
Downloading python-qt5-0.1.10.zip (57.5 MB)
|████████████████████████████████| 57.5 MB 3.3 MB/s
Building wheels for collected packages: python-qt5
Building wheel for python-qt5 (setup.py) ... done
Created wheel for python-qt5: filename=python_qt5-0.1.10-py3-none-any.whl size=57493205 sha256=8c3121d5b67d09191cb35e009461e52c62383abc6a783257b4d2c8bfd8d8d121
Stored in directory: c:\users\paulo\appdata\local\pip\cache\wheels\f2\1d\4f\41dedea35da672455ab9899bd636bfb84419b5fb1c7b592561
Successfully built python-qt5
Installing collected packages: python-qt5
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'c:\\users\\paulo\\venv\\Lib\\site-packages\\PyQt5\\QtCore.pyd'
Check the permissions.

I tried it from several directories, including my "Virtual Machine Folder". I wonder if it could have something to do with that &#%@&& Microsoft OneDrive stuff, because it's in the path for my working environment... Maybe I should think about cleaning everything out and reinstalling Python, Qt and Eric all on local disk paths?
Reply
#4
I got rid of the Onedrive &^$# stuff and reloaded according to the instructions at

https://packaging.python.org/tutorials/i...-packages/

This time I got a different result, but still not quite there:

(Virtual Machine Folder) C:\Users\paulo\Python Learning\Eric Virtual Machine Folder>pip install python-qt5
Collecting python-qt5
Using cached python_qt5-0.1.10-py3-none-any.whl
Installing collected packages: python-qt5
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'c:\\users\\paulo\\appdata\\local\\programs\\python\\python39\\Lib\\site-packages\\PyQt5\\QtCore.pyd'
Consider using the --user option or check the permissions.

Any ideas? thanks, paul
Reply
#5
Ahh, got it - had to add the "--user" option, as in

python -m pip install eric-ide --user

I appreciate your generous help, Larz60+! paul
Reply
#6
Sorry to hear it was so difficult on win 10
I'm pretty much Linux only these days, not a great fan of windows 10.
Gribouillis likes this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] [Solved] Eric 7 uic error arwen 2 1,321 Jan-20-2023, 08:19 AM
Last Post: arwen
  Problem in installation and difficulty to use Python 3.5 on gowther 1 2,418 Aug-27-2018, 02:43 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020