Advertisement
kopyl

Untitled

Jun 14th, 2023
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. >>> from deepface import DeepFace
  2. RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf
  3. ImportError: numpy.core.multiarray failed to import
  4.  
  5. The above exception was the direct cause of the following exception:
  6.  
  7. SystemError: <built-in method __contains__ of dict object at 0x14964d580> returned a result with an error set
  8.  
  9. The above exception was the direct cause of the following exception:
  10.  
  11. Traceback (most recent call last):
  12. File "<stdin>", line 1, in <module>
  13. File "/Users/olehkopyl/.pyenv/versions/3.8.13/lib/python3.8/site-packages/deepface/DeepFace.py", line 14, in <module>
  14. import tensorflow as tf
  15. File "/Users/olehkopyl/.pyenv/versions/3.8.13/lib/python3.8/site-packages/tensorflow/__init__.py", line 37, in <module>
  16. from tensorflow.python.tools import module_util as _module_util
  17. File "/Users/olehkopyl/.pyenv/versions/3.8.13/lib/python3.8/site-packages/tensorflow/python/__init__.py", line 37, in <module>
  18. from tensorflow.python.eager import context
  19. File "/Users/olehkopyl/.pyenv/versions/3.8.13/lib/python3.8/site-packages/tensorflow/python/eager/context.py", line 34, in <module>
  20. from tensorflow.python.client import pywrap_tf_session
  21. File "/Users/olehkopyl/.pyenv/versions/3.8.13/lib/python3.8/site-packages/tensorflow/python/client/pywrap_tf_session.py", line 19, in <module>
  22. from tensorflow.python.client._pywrap_tf_session import *
  23. ImportError: initialization failed
  24. >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement