Python installation within Visual Studio IDE

John 466 Reputation points
2024-09-17T00:37:09.6833333+00:00

I need to know more things about installing python within the Visual Studio environment.

Its long-term purpose is to install Kivy library.

Any ideas or tips?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,110 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,041 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,761 Reputation points Microsoft Vendor
    2024-09-17T03:18:20.6066667+00:00

    Hi @John, 

    Welcome to Microsoft Q&A! 

    More details about Python in Visual Studio, please view the documentation.

    Install Python Tools for Visual Studio (PTVS) - Visual Studio (Windows) | Microsoft Learn 

    To install Kivy, please refer to: Installation on Windows — Kivy 2.3.0 documentation

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Gowtham CP 4,820 Reputation points
    2024-09-17T04:00:10.7866667+00:00

    Hi John,

    To install Python and Kivy in Visual Studio, follow these steps:

    1. Install Visual Studio: Ensure that you include the Python development workload during installation.
    2. Install Python: Download and install the latest version of Python from python.org.
    3. Install PTVS (Python Tools for Visual Studio): This extension adds support for Python development.
    4. Configure PTVS: After installing, set up the Python interpreter in Visual Studio.
    5. Create a Python project: Go to "File" -> "New Project" -> "Python Application."
    6. Install Kivy: Open a terminal in Visual Studio and run:
      
         pip install kivy
      
      

    For more details, refer to the official documentation:

    Hope this helps! If you have more questions, feel free to ask. If you found the answer helpful, upvote and accept it as the answer!

    Best,

    John

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.