title: undefined symbol: __atomic_fetch_add_8
body: <p>I'm trying to test my picamera on thonny python ide on my raspberry pi but i'm getting an error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/pi/Documents/Camera_test.py", line 2, in &lt;module&gt;
      import cv2
    File "/usr/lib/python3/dist-packages/thonny/backend.py", line 305, in _custom_import
      module = self._original_import(*args, **kw)
    File "/home/pi/.local/lib/python3.7/site-packages/cv2/__init__.py", line 3, in &lt;module&gt;
      from .cv2 import *
    File "/usr/lib/python3/dist-packages/thonny/backend.py", line 305, in _custom_import
      module = self._original_import(*args, **kw)
  ImportError: /home/pi/.local/lib/python3.7/site-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8
  </code></pre>
  
  <p>I've already tried searching for possible solutions but were not able to  do it because i cant understand what they were trying to say something about -latomic. i'm pretty much new to this.</p>
  
  <pre><code>import numpy as np
  import cv2
  
  cap = cv2.VideoCapture(0)
  cap.set(3,640) # set Width
  cap.set(4,480) # set Height
  
  while(True):
      ret, frame = cap.read()
      frame = cv2.flip(frame, -1) # Flip camera vertically
      gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
  
      cv2.imshow('frame', frame)
      cv2.imshow('gray', gray)
  
      k = cv2.waitKey(30) &amp; 0xff
      if k == 27: # press 'ESC' to quit
          break
  
  cap.release()
  cv2.destroyAllWindows()
  </code></pre>