Share via

Run Python code using VS project within Oracle Linux OS

Peter_1985 2,731 Reputation points
Mar 28, 2025, 9:20 AM

Hi,

Is it officially acceptable to Run Python code using VS project within Oracle Linux OS? Any details or sample code for this?

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
279 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Peter_1985 2,731 Reputation points
    Mar 28, 2025, 1:29 PM

    Hi,

    Want to make it clear if we can run all codes in Python within the project and also make the project work properly within Oracle Linux OS.

    For doing the above, we have to set up VS within the Linux OS right?

    0 comments No comments

  2. Tianyu Sun-MSFT 34,336 Reputation points Microsoft External Staff
    Mar 31, 2025, 12:26 PM

    Hi @Peter_1985 ,

    You can develop, test and debug(probably need to use WSL2) your Python project by using Visual Studio(VS) on Windows OS, and then do some additional changes to transfer it and run your Python code on Linux without installing VS(again, VS doesn’t support to be directly installed on Linux).

    Besides, using Visual Studio Code(VS Code) or other tools, you can do the very similar things, but VS Code supports to be directly installed on Linux.

    Regards,

    Tianyu


    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.

    0 comments No comments

  3. Peter_1985 2,731 Reputation points
    Mar 31, 2025, 1:25 PM

    You can develop, test and debug(probably need to use WSL2) your Python project by using Visual Studio(VS) on Windows OS, and then do some additional changes to transfer it and run your Python code on Linux without installing VS(again, VS doesn’t support to be directly installed on Linux).

    Is it applicable to both VS 2019 and VS 2022, right?


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.