Answer the question
In order to leave comments, you need to log in
In the console, python does not see the modules, although they are downloaded via pip. Python???
In the console, I installed modules via pip: kivy, numpy, so everything should work. But when I write in the file, for example, "import numpy" or "from kivy.app import App", the console says that there is no module with that name. Python 3.7.3. Even if again in the console to write "pip install numpy" or "python -m pip install numpy" gives the path to this module.
Help me decide please!
Answer the question
In order to leave comments, you need to log in
Depends on your OS. If you're on Linux and you write pip , it installs the packages for Python 2.7, which is built into the system by default. To install for Python 3.7, you should use pip3 or reassign these aliases to ~/.bashrc.
PS You may need to install pip3 separately. For Ubuntu:
sudo apt-get install python3-pip
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question