How to create a virtual environment for Python with Conda | Anaconda or Miniconda?

Ғылым және технология

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.blueantoinette.com/2023/1...
- 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 KZread Series:
www.blueantoinette.com/produc...
About us:
- Homepage: www.blueantoinette.com/
- Contact us: www.blueantoinette.com/contac...
- Twitter: / blueantoinette_
- Consulting Hour: www.blueantoinette.com/produc...
Hashtags:
#conda #miniconda #anaconda #virtualenvironment #python

Пікірлер: 4

  • @frankwilder6860
    @frankwilder68608 ай бұрын

    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

  • @BlueAntoinette

    @BlueAntoinette

    8 ай бұрын

    Make sure that you have selected your conda virtual environment in VS Code under View -> Command Palette -> Python: Select Interpreter

  • @frankwilder6860

    @frankwilder6860

    8 ай бұрын

    @@BlueAntoinette Yes, that did the trick for me. Thank you!

  • @BlueAntoinette

    @BlueAntoinette

    8 ай бұрын

    Sometimes also deleting the cache is required. You can do this in VS Code with View -> Command Palette -> Python: Clear Cache and Reload Window

Келесі