Це відео не доступне.
Перепрошуємо.
How to create a virtual environment for Python with Conda | Anaconda or Miniconda?
Вставка
- Опубліковано 16 сер 2024
- In this video you learn how to install Miniconda and Anaconda and how to setup a virtual environment for Python. This video is the first episode of a new series - Mastering Python.
Chapters in this video:
0:00 - Intro and Explanation
00:48 - Setup Virtual Machine
01:06 - Conda Overview
01:43 - Miniconda Installation
03:54 - Create Virtual Environment (Miniconda)
05:36 - Install package with pip e.g. python-dotenv
06:12 - Hello world sample with load_dotenv()
06:50 - Deactivate virtual environment
07:04 - Remove virtual environment
08:03 - Anaconda Installation
10:10 - Create Virtual Environment (Miniconda)
10:25 - Outro
Video related links:
- Mastering Python: www.blueantoin...
- SSH into Remote VM with VS Code: • SSH into Remote VM wit...
- aitom8: AI automation with Conda: • AI automation with ait...
Please support our effort and purchase the source code of the entire UA-cam Series:
www.blueantoin...
About us:
- Homepage: www.blueantoin...
- Contact us: www.blueantoin...
- Twitter: / blueantoinette_
- Consulting Hour: www.blueantoin...
Hashtags:
#conda #miniconda #anaconda #virtualenvironment #python
VS Code does not see the packages that I've installed with pip in my conda environment. I see this message in my python code: Import could not be resolved Pylance
Make sure that you have selected your conda virtual environment in VS Code under View -> Command Palette -> Python: Select Interpreter
@@BlueAntoinette Yes, that did the trick for me. Thank you!
Sometimes also deleting the cache is required. You can do this in VS Code with View -> Command Palette -> Python: Clear Cache and Reload Window