Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/__init__.py", line 24, in <module>
- from . import multiarray
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in <module>
- from . import overrides
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/overrides.py", line 8, in <module>
- from numpy.core._multiarray_umath import (
- ImportError: dlopen failed: cannot locate symbol "PyExc_ValueError" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so"...
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/__init__.py", line 130, in <module>
- from numpy.__config__ import show as show_config
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/__config__.py", line 4, in <module>
- from numpy.core._multiarray_umath import (
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/__init__.py", line 50, in <module>
- raise ImportError(msg)
- ImportError:
- IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
- Importing the numpy C-extensions failed. This error can happen for
- many reasons, often due to issues with your setup or how NumPy was
- installed.
- We have compiled some common reasons and troubleshooting tips at:
- https://numpy.org/devdocs/user/troubleshooting-importerror.html
- Please note and check the following:
- * The Python version is: Python3.11 from "/data/data/com.termux/files/usr/bin/python"
- * The NumPy version is: "1.26.3"
- and make sure that they are the versions you expect.
- Please carefully study the documentation linked above for further help.
- Original error was: dlopen failed: cannot locate symbol "PyExc_ValueError" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so"...
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/storage/emulated/0/telegramBot/main.py", line 16, in <module>
- from langchain.chat_models.gigachat import GigaChat
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/langchain/chat_models/__init__.py", line 23, in <module>
- from langchain.utils.interactive_env import is_interactive_env
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/langchain/utils/__init__.py", line 25, in <module>
- from langchain.utils.math import cosine_similarity, cosine_similarity_top_k
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/langchain/utils/math.py", line 1, in <module>
- from langchain_community.utils.math import (
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/langchain_community/utils/math.py", line 5, in <module>
- import numpy as np
- File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/__init__.py", line 135, in <module>
- raise ImportError(msg) from e
- ImportError: Error importing numpy: you should not try to import numpy from
- its source directory; please exit the numpy source tree, and relaunch
- your python interpreter from there.
Advertisement
Add Comment
Please, Sign In to add comment