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

Error while importing modules. Please install the modules in requirements.txt #44

Open
ghost opened this issue Jan 18, 2023 · 7 comments

Comments

@ghost
Copy link

ghost commented Jan 18, 2023

Error while importing modules. Please install the modules in requirements.txt

@kajg2008NL
Copy link

Same issue

@Unawarding
Copy link

then install the requirements lol, the instructions are provided

@onkq
Copy link

onkq commented Apr 5, 2023

You just gotta install it via the same python version. For example, you install python 3. Then u use 'python3' as the command instead of just 'python'...

Linux:

pip3 install -r requirements.txt

&

sudo python3 main.py

On Fedora Linux, this can be a bit tricky with the display server so using Windows is better, I would suggest using scrcpy on Windows aswell if you got the device. If you're still going with Linux, then maybe u encounter:

Can't connect to display ":0": b'Authorization required, but no authorization protocol specified

or maybe:

No such file or directory: '/path/to/.Xauthority'

This can be fixed with typing this into the terminal:xhost +local:$USER

Windows however:

Bluestacks is laggy and Nox player doesn't work for me on Windows 11 as it's got it's own internal window so the script can't execute and move the mouse, if you know a workaround, write it down below so people can use it.

As I said; I would suggest using scrcpy on Windows aswell if you got the android device.

You install python 3 or as of this writing it's 3.11.2 for the python website. Then make sure you check the box via the installation wizard to add to the PATH / Environment Variables. Now instead of opening that .bat file. You open CMD and type pip3 install colorama keyboard pyautogui. Now you're ready, go to your snap folder u downloaded and right click inside of it and open a new CMD, if you know how to navigate using commands be my guest. Then type py main.py

@onkq
Copy link

onkq commented Apr 5, 2023

If you guys need more help I'd be willing to make a fking tutorial on this lmao

@ShoAndScript
Copy link

do it im dumb asf

@onkq
Copy link

onkq commented May 16, 2023

What more specifically do you need help with? Maybe I can avoid making a video if you got any problems I can immediately fix for you.

@pythonist0
Copy link

Error while importing modules. Please install the modules in requirements.txt

me too but i tried on my mother's computer and it work (i was in win 10 and my mother on win 11)

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

6 participants
@Unawarding @onkq @kajg2008NL @ShoAndScript @pythonist0 and others