Run Python code using VS project within Oracle Linux OS

Peter_1985 2,736 Reputation points
2025-03-28T09:20:15.7666667+00:00

Hi,

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

Developer technologies Visual Studio Extensions
{count} votes

3 answers

Sort by: Most helpful
  1. Peter_1985 2,736 Reputation points
    2025-03-28T13:29:18.7766667+00:00

    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,436 Reputation points Microsoft External Staff
    2025-03-31T12:26:49.96+00:00

    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,736 Reputation points
    2025-03-31T13:25:27.86+00:00

    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.