I
I
ITechnic2021-03-31 16:53:16
Python
ITechnic, 2021-03-31 16:53:16

apiai import throws an error!?

In my python project, I connected the apiai library to work with dialogflow according to this article: https://habr.com/en/post/346606/
But an error occurs when importing:

Traceback (most recent call last):
  File "/home/Ivan200724/bot.py", line 7, in <module>
    import apiai, json
  File "/home/Ivan200724/.local/lib/python3.8/site-packages/apiai/__init__.py", line 24, in <module>
    from .VAD import VAD
  File "/home/Ivan200724/.local/lib/python3.8/site-packages/apiai/VAD.py", line 4, in <module>
    import numpy as np
  File "/usr/lib/python3.8/site-packages/numpy/__init__.py", line 142, in <module>
    from . import core
  File "/usr/lib/python3.8/site-packages/numpy/core/__init__.py", line 17, in <module>
    from . import multiarray
  File "/usr/lib/python3.8/site-packages/numpy/core/multiarray.py", line 14, in <module>
    from . import overrides
  File "/usr/lib/python3.8/site-packages/numpy/core/overrides.py", line 16, in <module>
    add_docstring(
RuntimeError: implement_array_function method already has a docstring


Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question