Anaconda and Visual Studio Code Setup
ฝัง
- เผยแพร่เมื่อ 16 ก.ค. 2024
- In this video, I will walk you through how I set up Visual Studio Code to develop python code with Anaconda virtual environment. We will install Visual Studio Code and Anaconda. In Visual Studio Code we will install some of my favourite extensions, install all dependencies for python development on Windows and execute a simple example of python code using the command line, interpreter and debugger within Visual Studio Code.
0:00 - Intro
0:13 - Anaconda
2:15 - Visual Studio Code
3:00 - Generic VS Code Extensions
3:20 - Ayu Mirage Theme
4:00 - Git Graph
4:20 - Live Share
4:45 - Material Icon Theme
5:00 - Prettier
5:15 - Rainbow Brackets 2
5:45 - Todo Tree
6:15 - GitLense
6:30 - Formatting
8:20 - Python
8:35 - Black Formatter
8:50 - Jupyter
9:00 - Execute code using CLI
11:00 - Execute code using Debugger in VS Code
Anaconda (www.anaconda.com/)
Visual Studio Code (code.visualstudio.com/)
Generic VS Code Extensions
Ayu Mirage Theme (marketplace.visualstudio.com/...)
Git Graph (marketplace.visualstudio.com/...)
Live Share (marketplace.visualstudio.com/...)
Material Icon Theme (marketplace.visualstudio.com/...)
Prettier (marketplace.visualstudio.com/...)
Rainbow Brackets 2 (marketplace.visualstudio.com/...)
Todo Tree (marketplace.visualstudio.com/...)
GitLense (marketplace.visualstudio.com/...)
Python VS Code Extensions
Python (marketplace.visualstudio.com/...)
Black Formatter (marketplace.visualstudio.com/...)
Jupyter (marketplace.visualstudio.com/...)
Thank you for this setup video. You answered so many questions that I had so much trouble finding answers to.
Glad this is helpful!
This is helpful, however, I was expecting more about using conda's related stuffs in vscode as your video title.
Thanks for your feedback!
Thanks a lot for the video - I followed your steps and unfortunately, I'm stuck at the formatting part, as it doesn't show up in my settings ("python formatting" has no results). Do you have any suggestions where to find these settings?
Thanks Bro, you saved a lot of time.
Bro you are a life saver ❤
Anaconda comes with many modules related to data science.
Is there any way i can use conda modules in vs code or i have to download modules for vs code seperately?
Thanks, greetings from Russia
I got completely lost at setting up the python interpreter with Anaconda. 30 minutes on extensions and 5 seconds on the most important part
What do you mean by lost? Installation of python is straight forward, essentially: next, next, next ..
Hey one question, how did you get the VS Code launch option in your Anaconda Navigator. Was VS code preinstalled in your system?
This is exactly what I’m after too. Have you been successful?
why did you install vs code separately when it's already integrated into anaconda by default ?
When I installed anaconda it did not come with vs integration. This is what I’m searching for, a way to install it to my anaconda navigator…
THANK YOU SO FUCKING MUCH
LOL
I hit the 100th like button I'm stuck to troubleshoot.
Can I work on windows 8.1 as anaconda installed and older version of version studio.
Environment is creating but unable to run Vs code inno_update.exe coming
I don’t think so: „Microsoft ended support and is no longer providing security updates for Windows 7, Windows 8, and Windows 8.1“
@@PhilippDominicSiedler I know but from older version if this is editor why I'm unable to run code
What’s the error?
@@PhilippDominicSiedler Sir
inno_updater.exe
Also it is showing to update installation and then system get very slow and freezes down
Hi
Please tell me this is a normal answer?
I can't do it like You: pylint-venv pypi_0 pypi
(base) C:\Users\one>conda env list
# conda environments:
#
base * C:\Users\one\anaconda3
(base) C:\Users\one>conda list env
# packages in environment at C:\Users\one\anaconda3:
#
# Name Version Build Channel
pylint-venv 2.3.0 py311haa95532_0
python-dotenv 0.21.0 py311haa95532_0
Thank You for the help
I guess this is normal. I got the same thing yet I was able to execute all that he did
Love you to death, bro. But you have to speak clearly and don't mumble during the mundane parts. Your mic is picking up the room and your clickty keyboard louder than your voice. Looking forward to more projects.
Hey, I think you have skipped some steps. The environment variables must be set up for conda and python if you want them to work on CMD otherwise it does not. I am very surprised that you've gotten an error when you used the anaconda interpreter (the base environment) since that is the place where you have the environment variables for conda and python.
P.S. I think this is the main reason why you have so many dislikes on this video