Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Do WSL use the python installation which is installed on Windows host?

i have some python installations in my windows machine. Recently, i need Linux environment for studying. I have the question that "Do i need to install Python again in WSL environment ? or Not ( since WSL use the same python installations of Windows host)". Please give me answers, Thank you in advance?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

When using Windows Subsystem for Linux (WSL), you are not using the same Python installation as your Windows host by default. WSL runs its own separate distribution of Linux, and you will need to install Python in that environment if you want to use it.

You can install Python within your WSL distribution by using the package manager for your specific distribution. For example, on Ubuntu you can use the apt package manager to install Python by running the command sudo apt install python3.

In summary, if you want to use Python in your WSL environment, you will need to install it within the WSL environment itself.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading