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

Can't start app.py, can you help? #21

Open
icepoke1223 opened this issue Nov 15, 2024 · 15 comments
Open

Can't start app.py, can you help? #21

icepoke1223 opened this issue Nov 15, 2024 · 15 comments

Comments

@icepoke1223
Copy link

icepoke1223 commented Nov 15, 2024

image
Can't start app.py, can you help?

Python 3.12.0
pip 24.3.1
windows 11 23H2

@AdriaGual
Copy link
Owner

Hey @icepoke1223! Seems like the cv2 version is not the right one, if you do a pip freeze, which version of opencv and numpy do you have?

I have:

numpy==2.1.2
opencv-python==4.9.0.80
opencv-python-headless==4.10.0.84

@icepoke1223
Copy link
Author

image
My version is the same as yours @AdriaGual

@AdriaGual
Copy link
Owner

I've been looking a bit and it seems the problem comes from the numpy package, try to uninstall and install numpy.

@icepoke1223
Copy link
Author

螢幕擷取畫面 2024-11-16 003222
I reinstalled it, but it still won't run. @AdriaGual

@AdriaGual
Copy link
Owner

hmm you can try to upgrade the opencv-python version

pip install opencv-python

@icepoke1223
Copy link
Author

I've already tried. I also used my old Windows 10 laptop to test it, but the result is the same – it still freezes with the same issue.
@AdriaGual

@AdriaGual
Copy link
Owner

I see... Looking a bit seems the problem is the version of the numpy with the version of opencv_python.

Check this posts:
https://www.geeksforgeeks.org/how-to-fix-opencv-importerror-numpy-core-multiarray/
opencv/opencv#8139

Some people have tried downgrading both numpy and opencv, I don't recommend it but you can give it a try.

@icepoke1223
Copy link
Author

I see... Looking a bit seems the problem is the version of the numpy with the version of opencv_python.

Check this posts: https://www.geeksforgeeks.org/how-to-fix-opencv-importerror-numpy-core-multiarray/ opencv/opencv#8139

Some people have tried downgrading both numpy and opencv, I don't recommend it but you can give it a try.

This method worked thank you very much! But as one problem is solved, a new one has appeared.🥴
螢幕擷取畫面 2024-11-16 051339

@TerpToke
Copy link

TerpToke commented Nov 15, 2024

@icepoke1223 This may or may not help but refer to a previous issue I made. Hope it proves useful! It resolved all subprocess.py issues for me! Issue #1

@321098123 gave this tip: "I resolved this issue by adding the shell=True argument to all subprocess.py commands and registering LDPlayer's ADB in the system environment variables."

@NomadCHK
Copy link
Contributor

@AdriaGual lets do a good version freeze on our side, also we can add the emulator path to the calls of ADB so the user dont have to worry about it....

@icepoke1223
Copy link
Author

Add LDPlay to the path is work! thank you all🥰🥰🥰

@wespanther
Copy link

You should be able to update opencv-python to version 4.10.0.84. Try this:

pip install --upgrade opencv-python

@tomasfcattaneo
Copy link

tomasfcattaneo commented Nov 18, 2024

Add LDPlay to the path is work! thank you all🥰🥰🥰

Hello!

The same thing happened to me but I can't solve it, could you help me with this problem? I don't know how or where to send you a message to contact you.

BBBPP

EDIT: I modified the shell=True argument in all subprocess.py commands and registered the LDPlayer ADB in the system environment variables but it still doesn't work.

shhell

environment

After I did that I restarted everything, before I used BlueStack and at least tried to move the cards, now when I activate the bot with LDP it does nothing :c

error

Maybe I'm missing something but I don't know and sorry for so many questions and request for help

Update: I tried bluestack again and it is not taking the emulator either. It seems to be a bot-emulator sync error that is not associating (highlighted in yellow)

emulator error

@tomasfcattaneo
Copy link

tomasfcattaneo
Help with this? please

@Bitboy71960
Copy link

@TerpToke Where is the discord server? is it finished? can we have the link please?

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

7 participants