'Module not being found

I have tried to pip install two modules recently (ta and python-binance) however when I try to import both modules I get an error message(e.g ModuleNotFoundError: No module named 'ta').

I'm new to python and coding in general so it' probably a simple fix but I can't figure out what I am doing wrong.

Any help??



Solution 1:[1]

Make sure that you installed them correctly by

pip list 

or

pip freeze

Solution 2:[2]

Do you run it with your system default python installation? Maybe you run it with another version/installation/venv as the system default.

Because if you use pip install ... you install it for the python version that is in your environment variables

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 subspring
Solution 2