Tensorflow error - tensorflow.python.framework.errors_impl.NotFoundError - on running command rasa init --no-prompt

喜欢而已 提交于 2021-01-29 09:57:25

问题


When I run rasa init --no-prompt I am getting the above error. I am not able to debug the cause for this error, Above are the commands I have used to install Rasa.

pip3 install rasa

pip3 install --upgrade tensorflow rasa

pip3 install --upgrade tensorflow-addons rasa

pip install --upgrade pip

pip3 install --upgrade tensorflow-addons rasa --use-feature=2020-resolver

Above are my details of the versions used

Rasa version: 1.10.10

Python version: 3.6.9

Operating system Ubuntu 18.04.4 64 bit

tensorflow 2.3.0

tensorflow-addons<0.8.0,>=0.7.1

I am getting the above error, my virtual env is activated.

tensorflow.python.framework.errors_impl.NotFoundError: /home/aman/meraklis-pocs/RASA_POC/venv/lib/python3.6/site-packages/tensorflow_addons/custom_ops/activations/_activation_ops.so: undefined symbol: _ZN10tensorflow14kernel_factory17OpKernelRegistrar12InitInternalEPKNS_9KernelDefEN4absl11string_viewESt10unique_ptrINS0_15OpKernelFactoryESt14default_deleteIS8_EE

回答1:


For now, rasa is compatible just with TensorFlow version 2.1.1 and python 3.6 or 3.7

Try to uninstall any other version of tensorflow and install 2.1.1 of TensorFlow.

pip install tensoflow==2.1.1

This should work, incase any issue let me know.

P.S - Give it try in new virtual environment as well.



来源:https://stackoverflow.com/questions/63355334/tensorflow-error-tensorflow-python-framework-errors-impl-notfounderror-on-ru

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!