Aldeshov / ADBFileExplorer

File Explorer for Android devices
GNU General Public License v3.0
176 stars 25 forks source link

Module not found #25

Open abdelhaqelamraoui opened 1 year ago

abdelhaqelamraoui commented 1 year ago

I got the following error:

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

Kynacode commented 1 year ago

How did you manage to resolve this issue?

abdelhaqelamraoui commented 12 months ago

I didn't resolve it -_-

Tungboy99 commented 3 months ago

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.