enter image description here
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.29' not found (required by /usr/local/lib/python3.7/dist-packages/grpc/_cython/cygrpc.cpython-37m-arm-linux-gnueabihf.so)
Hei
I am on a Rasberry pi 4B / 8 GB, Raspberry OS / Buster, using debian 10.
i'm currently using python 3.10.4 as a standard version
i have installed
pip install grpcio==1.44.0 --no-binary=grpcio
pip install grpcio-tools==1.44.0 --no-binary=grpcio-tools
but it didn't do anything at all
anyone who can help?
Raspberry OS is using musllibc, while most other Linux distros are using glibc. This means the binary wheels gRPC team uploaded to PyPI won't work out-of-box for Raspberry Pi. I would recommend to download the wheels from piwheels: https://www.piwheels.org/project/grpcio/
Related
I am trying to install opencv on my laptop but I keep getting ImportError: DLL load failed while importing cv2: The specified module could not be found.
I tried installing installing with conda install -c conda-forge opencv in an anaconda env.
But I also get the same result if I use my normal python 3.10 interpreter with opencv-python and opencv-contrib-python.
I also tried to compile the module myself but cv2.cp310-win_amd64 gives me the same error as well...
Isnt there just an prebuild binary I can use? or should I look for an different ML module?
Yesterday when I came home I tried installing opencv-python on my personal computer. And it worked instantly. I have an GTX 1070 in that pc and an RTX A1000 in the work laptop I need opencv on. So I tought that the cuda cores might not be supported or something.
I found this tutorial https://machinelearningprojects.net/build-opencv-with-cuda-and-cudnn/
But after installing the Nvidia SDK, cudnn and compiling opencv from source I still get the same error.
Even with appending the opencv output folder and the cuda sdk bin folder to python's dll_path.
Disabling BUILD_SHARED_LIBS as suggested in here also does nothing....
https://forum.opencv.org/t/opencv-w-cuda-build-seems-successful-but-import-cv2-fails/11328/3
This happened to me just this morning, and I fixed it by installing opencv using pip. First, I removed conda's opencv installation. In the environment where it is installed type
conda remove opencv
Once it is removed, type
pip install opencv-python
Hope it helps
Using python 3.6 with conda install -c conda-forge opencv=3.2.0 as described here OpenCV-Python ImportError: DLL load failed: The specified module could not be found solved the issue on my laptop with an RTX A1000. Weird opencv works with python 3.10 on my desktop with an GTX 1070
I can't install any torch version on rasp 4 armv7l. i tried to build it from whl, but that does not work either.(maybe someone knows a working source?)
Any help is appreciated!
i have tried pip, conda, conda-forge, building it from scratch, but none seems to work. I could not find a tutorial on the web either.
I recently had to install torch on my rpi 4 armv7l. There are whl files you can find online but it depends on which version of torch you like to install.
For a step-by-step guide on how to install once you have the whl file, you can check out: https://medium.com/secure-and-private-ai-writing-challenge/a-step-by-step-guide-to-installing-pytorch-in-raspberry-pi-a1491bb80531
For the whl files you can check out these GitHub pages:
https://github.com/Kashu7100/pytorch-armv7l
https://github.com/nmilosev/pytorch-arm-builds
good evening.
I try to install Azure-cognitiveservices-speech on Ubuntu Mate 18.04, but I receive error:
Could not find a version that satisfies the requirement azure->cognitiveservices-speech (from versions: ) No matching distribution found for >azure-cognitiveservices-speech
I have Ubuntu MATE 18.04 64bit on Raspberry 3B+ with installed
libssl1.0.0
libasound2
Do you have any suggestion for me?
thank you for your support.
For this issue, the mostly reason is you are not using the workable version of Pyhton.
azure-cognitiveservices-speech version 1.2.0 works only for Python 3.5, 3.6 and 3.7.And you should be under the system including MacOS, Linux and Windows, 64 bits.
Please check your version and make sure you are under 64 bits.
Try:
python -c "import struct; print(struct.calcsize('P') * 8)"
I am trying to install a python package MetaTrader5 using the command
python3 -m pip install MetaTrader5
and I have even tried
pip install MetaTrader5
But it throws the following error
ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none)
ERROR: No matching distribution found for MetaTrader5
I am using
Ubuntu 16.04.6
Python 3.6.10
can someone help with this?
I have a mac. On it I have conda installed on MacOS. In addition I have a virtual machine running windows and I have also installed conda on Windows. I could install MetaTrader5 package using pip on the virtual machine but not on MacOS.
According to this Youtube video, MetaTrader5 currently doesn't support Ubuntu. It's only available on Windows.
If you look at Pypy and view the wheel files, you will see that all the builds are for Windows. pip is refusing to install because it can't find a Mac or Linux version.
https://pypi.org/project/MetaTrader5/5.0.37/#files
Download python version 3.10.0 then try installing metatrader5.
here the link: https://www.python.org/downloads/release/python-3100/
Metatrader 5 for Python, only work in exact versions:
Install one of version below to MT5 works.
Python Versions for Metatrader5
Trying to find out how to install or find easy_install on my Windows 7 32bit machine with Python 3.2.3 installed.
On a different machine with Windows 7 64 bit Python 3.2.3, easy_install was installed automatically into c:\python32\Scripts.
I found some instructions on how to install easy_install here, which led me to this page which tells me that to install easy_install, I need to install setuptools with the provided .exe (couldn't find). Also, I'm left to wonder what setuptools has to do with easy_install?
Thanks for any help!
easy_install is included with distribute. The simplest way to install it on Windows is from this page:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#distribute