Python Forum

Full Version: Kivy error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I was learning kivy and I am stuck. Python gives me an error saying "No module named kivy" when I try to import it to a script. I am usjng Linux mint 20. Kivy is installed in an virutal environment. I was following the offical kivy docs for pip

Thanks!
Quote:It says "No module named kivy"
What is "it"?
Quote:I am installing tj in a virtual environment.
what is tj?
Please provide as much information as you can.
(Apr-10-2021, 10:36 PM)Larz60+ Wrote: [ -> ]
Quote:It says "No module named kivy"
What is "it"?
Quote:I am installing tj in a virtual environment.
what is tj?
Please provide as much information as you can.
I have fixed the initial post
(Apr-10-2021, 04:13 PM)Leo_Red Wrote: [ -> ]Hi, I was learning kivy and I am stuck. Python gives me an error saying "No module named kivy" when I try to import it to a script. I am using Linux mint 20. Kivy is installed in an virutal environment. I was following the offical kivy docs for pip

Thanks!
With your virtual environment activated, type pip list

if kivy's not in the list, reinstall from virtual environment.
It's possible the first install went to a different environment.
(Apr-11-2021, 09:18 AM)Larz60+ Wrote: [ -> ]With your virtual environment activated, type pip list

if kivy's not in the list, reinstall from virtual environment.
It's possible the first install went to a different environment.
Hi, thanks for helping!! ❤️

It turns out VS code was not identifying the venv. I somehow figured it out