Aldeshov/ADBFileExplorer

Module not found

Opened this issue · 3 comments

I got the following error:

from PyQt5.QtWidgets import QApplication
ImportError: No module named PyQt5.QtWidgets

How did you manage to resolve this issue?

I didn't resolve it -_-

I am currently using Python 3.10 on a windows 10 machine.

First issue I had was I was not in the Virtual Environment. For me I started with the command of python -m venv venv and that gave me this error

Error: Command '['C:\TEMP - Copy\ADBFileExplorer-master\venv\bin\python.exe', '-m', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 103.

I then used the command: py -3 -m venv venv (I have python 2.7 and 3.10 on my machine, I think the windows python launcher was installed during my Python 3 install. Mine was located C:\windows or you can type in the command prompt: where py.exe)

After that I was in the virtual Environment, noted by the (venv) before the directory location. Typed in run, and failed again for no modules.

To remedy this I ran: pip install -r requirements.txt
downloaded the required files, then typed in : run

Then then GUI came up. Hope this helps with others that have had this problem.