Apr-01-2019, 09:52 PM
(This post was last modified: Apr-01-2019, 09:55 PM by gontajones.)
He has to check if pip is really installing modules for the python interpreter that he is running his scripts.
He can investigate it with:
1 - Check pip version and its bond python interpreter.
2 - Then check if the module was really installed.
3 - Modules that have
Example:
And when importing:
He can investigate it with:
1 - Check pip version and its bond python interpreter.
$ pip -V
2 - Then check if the module was really installed.
$ pip list
3 - Modules that have
-
in their names must be imported with _
.Example:
$ pip install my-module
And when importing:
import my_module