I'm trying to install kivy for python 3 using apt-get:

    sudo apt-get install python3-kivy

And it is installed in


But, when I tried to load it in python, I get a ModuleNotFoundError

    Python 3.6.3 |Anaconda custom (64-bit)| (default, Oct 13 2017, 12:02:49) 
    [GCC 7.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import kivy
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ModuleNotFoundError: No module named 'kivy'

When I check the system path from python, I only get packages in Anaconda:

    >>> import sys
    >>> print('\n'.join(sys.path))


Is there any way to include the '/usr/lib/python3' path to Anaconda?



Anaconda isolate your python environment from the rest of the system. Thus, you only can use python packages installed with conda or anaconda pip version.

conda install -c conda-forge kivy
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.