-
Notifications
You must be signed in to change notification settings - Fork 361
ImportError: /usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8 #67
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
Comments
rp3b+,same error. |
Same error using Raspbian Buster |
Tried this workaround: $ LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1.2.0 python3 Object_detection_picamera.py --usbcam Getting a new error now:
Not sure if they are relevant. Edit: Not relevant. The workaround should work. |
No help.. |
Getting the same error? |
I'm seeing this as well. |
Hey, this is because the latest version of openCV doesn't work with RPi. Instead of pip3 install opencv-python try pip3 install opencv-python==3.4.6.27 |
i used another way to solve this issue yesterday, but it's not convenient
|
i tried your way today , and it did works . |
thank you so much Zach-Op |
When i try this, i get the error ''Could not install packages due to an EnvironmentError: 404 Client Error: Not found for url: https://pypi.org/simple/opencv-pyhton/'' Do you have any idea to achieve this problem? |
NICE !!! |
i have same error.. but is not helped. i try this solution and this. but also it doesnt work.. anybody plz help me 😭 |
it did work with previous versions of opencv.. thanks |
Thank you so much! Worked like charm! |
Thanks you so much @Zach-OP It really useful !!! |
2020-02-09 05:51:42.552137: E tensorflow/core/platform/hadoop/hadoop_file_system.cc:132] HadoopFileSystem load error: libhdfs.so: cannot open shared object file: No such file or directory |
Thank you sooooooo much |
It worked for me on RPI 3 B. It uninstalled my opencv_python-4.1.1.26 now it's ok with opencv-python==3.4.6.27. |
Use OpenCV contrib with the right version. pip install opencv-contrib-python==4.1.0.25 |
i excecuted the same python 3.4.6.27 was installed but againg showing the same error |
Okay thank you very much! Have a great day!
…On Sun, Feb 16, 2020, 1:16 AM modarm-e ***@***.***> wrote:
Hey, this is because the latest version of openCV doesn't work with RPi.
Instead of pip3 install opencv-python try pip3 install
opencv-python==3.4.6.27
You will need to uninstall the latest version first. pip3 uninstall
opencv-python
Thank you sooooooo much
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#67?email_source=notifications&email_token=ANXCQKELI5E4DJX4YB2YJ6DRDDR53A5CNFSM4JPNARM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL37TKI#issuecomment-586676649>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANXCQKDEJXGAVBPC4243DL3RDDR53ANCNFSM4JPNARMQ>
.
|
it works well for me thanks |
Did you solve this? I have same issue |
I tried Zac's approach to uninstall and then install OpenCV. I tried using LD_PRELOAD. I tried using VIRTUALWRAPPER_PYTHON. I tried mkvirtualenv cv2. None of them worked. |
thanks |
I tried Zac's approach to uninstall and then install OpenCV. I tried using LD_PRELOAD. I tried using VIRTUALWRAPPER_PYTHON. I tried mkvirtualenv cv2. None of them worked. I am also getting the same issue on rpi 4 . Someone plz help |
Did you found any solution please post it |
$ vi .bashrc (or nano .bashrc under root)
It will work. |
Update following @Zach-OP advice to stay away from the latest version:
|
Dear Sir,
I have tried both the ways you have suggested me, but it seems
none of them to be working, i am attaching the screeshots of the rpi
terminal,
od_problem_1) - It shows that the code doesn't run with sudo command.
od_problem_2) - It shows that the code does run without sudo command.
I am calling this code using another code which requires
administrative rights for working as it contains flask api to connect to
another api in another computer/laptop, so sudo needs to put there before
working. please help.
…On Thu, May 14, 2020 at 6:32 AM Yoann Hervieux ***@***.***> wrote:
Update following @Zach-OP <https://github.com/Zach-OP> advice to stay
away from the latest version:
On a Pi4 today :
- OpenCV 4.1.1.26 KO
- OpenCV 4.1.0.25 imports properly and seems to run fine so far
=> Install with pip3 install opencv-python==4.1.0.25
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AND7QXLTQZGGRB45VUOGI73RRM7LJANCNFSM4JPNARMQ>
.
|
god bless you |
thank you bro, it worked for me |
Thanks worked like charm with 4.1.1 😍 |
how to export LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 |
hi bharath4284 |
|
This happens when I try uninstalling any ideas?
|
It says "permission denied" - you forgot to use sudo:
|
ImportError Traceback (most recent call last) 1 frames ImportError: /usr/local/lib/python3.7/dist-packages/pygedm/dmdsm.so: undefined symbol: PyCObject_Type Please help resolve this |
Thanks a lot, it still works today and I needed it soooo much !!!! |
Raspberry 4

python 3.7
tensorflow 2.0
i follow your guidence , and this issues happended at last ,
how should i do ?
The text was updated successfully, but these errors were encountered: