Python Forum
Kivy error - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Kivy error (/thread-33253.html)



Kivy error - Leo_Red - Apr-10-2021

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!


RE: Kivy error - Larz60+ - Apr-10-2021

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.


RE: Kivy error - Leo_Red - Apr-11-2021

(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


RE: Kivy error - Leo_Red - Apr-11-2021

(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!



RE: Kivy error - Larz60+ - Apr-11-2021

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.


RE: Kivy error - Leo_Red - Apr-11-2021

(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