Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

something unrelated but can you please help #14

Closed
amitpande74 opened this issue Dec 2, 2022 · 3 comments
Closed

something unrelated but can you please help #14

amitpande74 opened this issue Dec 2, 2022 · 3 comments

Comments

@amitpande74
Copy link

Hi,
I have tried all the possible solutions from google to install PyQt5.

(base) amit@amit-X705UDR:~$ /home/amit/miniconda3/bin/python
Python 3.8.12 (default, Oct 12 2021, 13:49:34) 
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from ilearnplus import runiLearnPlus
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/amit/.local/lib/python3.8/site-packages/ilearnplus/__init__.py", line 5, in <module>
    from .iLearnPlusBasic import *
  File "/home/amit/.local/lib/python3.8/site-packages/ilearnplus/iLearnPlusBasic.py", line 7, in <module>
    from PyQt5.QtWidgets import (QApplication, QWidget, QPushButton, QFileDialog, QLabel, QHBoxLayout, QGroupBox, QTextEdit,
ModuleNotFoundError: No module named 'PyQt5'

Kindly suggest.

@Superzchen
Copy link
Owner

Hi,
iLearnPlus is a GUI-based program, please make sure your system support graphical interfaces.

@amitpande74
Copy link
Author

Dear Author,
I have Ubuntu 22.04. I ran this command to check -

sudo lshw -c video
[sudo] password for amit: 
  *-display                 
       description: VGA compatible controller
       product: UHD Graphics 620
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 07
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
       resources: irq:141 memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
  *-display
       description: 3D controller
       product: GP107M [GeForce GTX 1050 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:140 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff

Regards.

@amitpande74
Copy link
Author

https://gist.github.com/ujjwal96/1dcd57542bdaf3c9d1b0dd526ccd44ff
This worked.
Thanks.
Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants