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

Help me #3

Open
lp85d opened this issue Mar 29, 2024 · 6 comments
Open

Help me #3

lp85d opened this issue Mar 29, 2024 · 6 comments

Comments

@lp85d
Copy link

lp85d commented Mar 29, 2024

https://stackoverflow.com/questions/68275560/version-loaded-from-file-does-not-comply-with-pep-440/78241940#78241940

Help me /storage/emulated/0/1/mediapipe-0.10.11/MANIFEST.in

global-exclude .git*
global-exclude *_test.py

include CONTRIBUTING.md
include LICENSE
include MANIFEST.in
include README.md
include requirements.txt

recursive-include mediapipe/modules *.txt
PyDroid 3:

/data/user/0/ru.iiec.pydroid3/files/aarch64-linux-android/lib/python3.11/site-packages/setuptools/dist.py:315: SetuptoolsDeprecationWarning: Invalid version: 'dev'.
!!

    ********************************************************************************
    The version specified is not a valid version according to PEP 440.
    This may not work as expected with newer versions of
    setuptools, pip, and PyPI.

    This deprecation is overdue, please update your project and remove deprecated
    calls to avoid build errors in the future.

    See https://peps.python.org/pep-0440/ for details.
    ********************************************************************************

!!
self._validate_version(self.metadata.version)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: no commands supplied

[Program finished]

@ZernovTechno
Copy link
Owner

As I can see, you running code on phone (Pydroid). I haven't any mobile support, and can't fix all problems. So, the error log isn't full, or just bad, and it hasn't any specific. Try check your dependency, maybe MediaPipe doesn't work correct.

@lp85d
Copy link
Author

lp85d commented May 1, 2024

I tried it on Windows 11
GUI DRIVER FAILED!
1 ready
GUI DRIVER FAILED!

@lp85d
Copy link
Author

lp85d commented May 1, 2024

`INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
Videowriter go, because stat: True

  • Serving Flask app 'AR_HeadSet'
  • Debug mode: on
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:5000
  • Running on http://192.168.194.189:5000
    Press CTRL+C to quit

`

Screenshot 2024-05-01 163208

While trying to retrieve the URL: http://192.168.194.189:5000/
The following error was encountered:

java.net.ConnectException: failed to connect to /192.168.194.189 (port 5000) from /:: (port 59252): connect failed: ETIMEDOUT (Connection timed out)

@lp85d
Copy link
Author

lp85d commented May 1, 2024

strangely, I did not install any additional drivers, but now there is no error
https://www.youtube.com/watch?v=OQUbSKTfbP0

@lp85d
Copy link
Author

lp85d commented May 12, 2024

File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1045, in _bootstrap_inner
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 982, in run
File "C:\Users\user\Desktop\AR_headset-revert-4-main\AR_HeadSet.py", line 142, in work_right
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\wsgi.py", line 256, in next
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\PIL\Image.py", line 1740, in paste
File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\werkzeug\wrappers\response.py", line 32, in _iter_encoded
File "C:\Users\user\Desktop\AR_headset-revert-4-main\AR_HeadSet.py", line 96, in gen_frames

Снимок экрана 2024-05-13 000610

@lp85d
Copy link
Author

lp85d commented Jul 12, 2024

Всё супер!
Ну по крайней мере виден прогресс 👍
image

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