-
Notifications
You must be signed in to change notification settings - Fork 139
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
Android Studio Gradle Sync issue #101
Comments
We don't currently have that exact version of opency-python, but we do have a slightly older version which hopefully will still work. The same will also be true of the packages editdistance, grpcio, h5py, numpy, tensorboard and tensorflow. Try removing the version specifier from these packages, and pip will install the newest version available for Chaquopy. Also remove the pkg-resources line: this is caused by a bug in the process which created the requirements list. The resulting list should look like this:
Please give that a try and let me know how you get on. |
Actually, the tensorboard line should simply be removed. That way, pip will select the version which corresponds with your tensorflow version, rather than the newest one. |
It probably won't cause any issues, but you can fix it by adding |
is it pssible to Use (pip install pyaudio) PyAudio in android studio along with java to make an android app ? `---------------------------------------- Command "C:\Users\hp\AppData\Local\Programs\Python\Python38\python.exe -u -S -c "import setuptools, tokenize;file='C:\Users\hp\AppData\Local\Temp\pip-install-tc7l2tl5\PyAudio\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\hp\AppData\Local\Temp\pip-wheel-_2_ripnu --python-tag py3" failed with error code 1 in C:\Users\hp\AppData\Local\Temp\pip-install-tc7l2tl5\PyAudio Chaquopy: Exit status 1
Execution failed for task ':app:generateDebugPythonRequirements'.
` |
See #389 for information about PyAudio. |
Trying to import requirements for https://github.com/githubharald/SimpleHTR which can be viewed at https://github.com/githubharald/SimpleHTR/blob/master/requirements.txt
From https://pypi.org/project/opencv-contrib-python/:
Pip fails with Could not find a version that satisfies the requirement ...?
A: Most likely the issue is related to too old pip and can be fixed by running pip install --upgrade pip. Note that the wheel (especially manylinux) format does not currently support properly ARM architecture so there are no packages for ARM based platforms in PyPI. However, opencv-python packages for Raspberry Pi can be found from https://www.piwheels.org/.
Please advise how to proceed.
The text was updated successfully, but these errors were encountered: