top of page

How To Add Python 3.10 Modules/Extensions To Visual Studio Code If Kivy Is Installed But Not Working

  • Writer: Brian Clark
    Brian Clark
  • Jul 7, 2022
  • 1 min read




I was having trouble trying to install python programs using pip in the visual studio code terminal. I figured out how to install modules using pip and the command prompt. Let's get right into the solution!



If you are having problems installing kivy, I will provide the link to the solution.


Step #1 - Find Out The Python Version You Are Using







Step #2 - Open Command Prompt As Adminstrator


Copy your python path link in the terminal, for example:


C:\Users\Sytem\AppData\Local\Programs\Python\Python310


Search for CMD and right-click, run as administrator



Step #3 - Paste Your Path: cd C:\Users\System\AppData\Local\Programs\Python\Python310

Press Enter


Make sure pip has been upgraded by typing in :

python -m pip install -upgrade pip



Step #4 - Type : cd Scripts, Press Enter


Step #5 - Type: pip install kivy, Press Enter


You might see a message that says you can upgrade pip by typing in a command. Just copy the command between the ' ' quotes and you should paste it and press enter.


If you still get an error after running your kivy program such as:

Kivy does not detect OpenGL2.0 follow the link below from StackOverflow:

Administrator


For video instructions of this blog post check out the following source:

Ck Codes. (2022) How To Install & Use/Import Python Packages in Visual Studio Code (2022) Youtube. https://www.youtube.com/watch?v=paRXeLurjE4



 

 
 
 

Comments


bottom of page