Setup python on Linux in Windows using WSL and VS Code

preview_player
Показать описание


Please subscribe, like and share this video

#wsl #vm #windows #dev #setup #vscode #python #ubuntu #tutorial #learning #beginners #taming_python
Рекомендации по теме
Комментарии
Автор

Thanks a lot brother... This video really helped me a lot as there aren't many video on this topic

dheerajvanamala
Автор

Excellent video and blog post. Needed this video for setting up a new workstation.

richardyim
Автор

thank you very much! The tutorial helped me a lot. Very practical and didactic. Congratulations on the material!

rafaelfurquim
Автор

you have earned yet another subscriber, thanks for this very clear and useful video.

techitint.
Автор

... buenos días desde Lima, un gran trabajo de investigación, análisis, ejemplo muy didáctico y práctico; muy agradecido por su aporte y colaboración con la comunidad de desarrolladores tecnológicos. Hacemos un mundo mejor.

ate
Автор

awesome sir, this video helped a lot. Thanks a ton

roshinik
Автор

Superb! got me up and running with WSL and python.

chrisaylen
Автор

Thank you. I love VS Code and wanted to start working with Ubuntu for a new project. This got me setup. Appreciated !

chadmace
Автор

Thank you so much this video helped me a lot

sagargurav
Автор

Very helpful video, thanks a lot brother, try to speak slowly next time, it's a bit difficult for me to follow the instructions (for a non English speaking man)

abdelhamidyounes
Автор

excellent video brother
but when i try to pip install torch or any other library it says that its a externally managed environment
why so?

SwekeR
Автор

and how ot use in vs code ipynb please

EklavyaGupta-buyn
Автор

Thanks for this tutorial. I created a python env and activated. I pip install ipykernel but was not able to select python env for my notebook! Any ideas?

AlDamara-xj
Автор

Hello, great video but when trying to compile python in vscode WSL, it asks for a compiler and then I have to add PATH, where do I find this or how do I find a solution? I installed python in Ubuntu

should_r
Автор

My original python on wsl is 3.10.12, but when i installed python3.7 from deadsnakes and I tried to create a virtual environment using this command: python3.7 -m venv py3_7, I get this: Error: Command '['/----some folders----/py3_7/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. Why? I looked into it and i realize that the folder py3_7 was created, but in the bin folder hadn't got 'activate', 'pip', and so on.

waljoshamarsphost
Автор

Hello
I' running Ubuntu 22.04 In WSL V2 on my Win11 machine. I've installed the python and wsl extension in vscode. Its possible to connect vscode with my ubuntu also i can choose the interpreter version in the bottom right corner. But in your video you choose a interpreter which is installed on windows, do i have to do the same ? I have installed Rapids in a Conda environment on Linux and when i've connected vscode to my wsl ubuntu session and try run the code from vscode in windows its says ModuleNotFoundError. Importing the same the module in my ubuntu command prompt via the same interpreter it runs without any problem. Any suggestions what to change ?

niklas_
Автор

What dose it mean `sudo apt install python3.7-distutils`? What is the difference between it and `sudo apt install python3.7`? Thank you very much.

pighuizhi
Автор

Although I did all the installations as you showed, when I click the wsl icon in the bottom left, it only two options appear, "Connect to WSL" and "Connect to WSL using Distro". Options such as reopen folder in wsl do not appear. What could be the reason, I would be glad if you can help.

ankanova
Автор

Thanks for this video! It's really helped me get started. When I was following along around 10:40 though, I get the following error. Any idea what I am missing?
"can't open file Scripts/wsl python/hello.py': [Errno 2] No such file or directory"

pyroboy
Автор

After typing sudo apt upgrade python3
It's asking for password but I didn't give any password.
After I press enter it's showing ' sorry try again'
Even keyboard is not working when it asking for password.

TYROplaysBGMI