Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

Why do I need WSL (Windows Subsystem on Linux) to run Python?

This is a related question to here

https://www.experts-exchange.com/questions/29203785/What-is-Python's-normal-environment-Not-Windows.html

If I can run Python anywhere....why can I just run it on Windows...just like .Net? Why do I need WSL and Ubuntu?
ASKER CERTIFIED SOLUTION
Avatar of d-glitch
d-glitch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Camillia

ASKER

>>If you're doing this for work, they might care how you do it, 

Yes, this is for work. I think that's why my manager asked me to install WSL.

Thanks for the other info. I will download Spyder as well. I have VSCode now. 
Avatar of Norie
Norie

Camillia

Is what you are going to do in Python going to be used in production?
Yes. It's for work projects in python. Production. 

I'm a .net developer but learning python because all code bases are in python except for some .net stuff that I maintain. 
Tip: If you're working with Python, use Linux. Preferably something like Ubuntu Focal (latest LTS), for easiest install/work.

Python will work under WSL + even natively on Windows.

For both WSL + Windows, you'll constantly be debugging oddball problems which simply don't exist on a normal Linux Distro like Ubuntu.

Note: WSL produces far less of these problems. With Windows, because of the massive Kernel differences, you'll invest a good bit of time trying to figure out why some code you downloaded fails in many ways on Windows.
Thanks, Dave. I setup VirtualBox and Ubuntu. I also got PyCharm. Got a Python instructor on "preplay" and he said the same; use VirtualBox plus Ubuntu (Linux)