modulenotfounderror no module named ‘te’
First, confirm whether the system environment is installed correctly and whether the whole packages such as
topiare installed correctly.
If there are multiple Python versions in the user environment, such as Conda virtual environment
You need to execute the
name_of_your_executable_appto confirm whether the application link
libpython3.7m.so.1.0is consistent with the current Python directory.
If not, you need to adjust the order of the environment variable
modulenotfounderror: no module named ‘numpy’
Python should inform you which libraries you must install when you attempt to import this Python code by throwing an error like:
ModuleNotFoundError: No module named 'numpy'
- To get around this error, you need to install
python3 -m pip install numpy