Part 1 - Virtual Environment


 

Creating a Virtual Environment with Miniconda

 

  1. Installing Miniconda

    https://www.anaconda.com/download/success

     
  2. Making the conda commands (permanently) available in the command line
     
    conda init cmd.exe
    

     
  3. Creating Virtual environments
     
    conda create -n myfirstenv python==3.14
    
    In this example, we create a Virtual Environment named jaimedcsilva that will have Python 3.12 installed.
    Note: You will be asked if you want to install additional packages. Choose yes as these packages will be useful in the future.

     
  4. Activating the Virtual Environment  
     
    activate myfirstenv
    You know that the Virtual Environment is activated when it shows between parentheses in your directory: (myfirstenv) C:\Users\jaime>

 

 

 

Other useful Miniconda commands 

 

Deactivating a Virtual Environment

conda deactivate



Removing a Virtual Environment(permanently)

conda remove -n myfirstenv --all



Listing all the existent Virtual Environments

conda info --envs


 





10 Nov. 2025 | Last Updated: 12 Dec. 2025 | jaimedcsilva

Related
  • Part 1 - Virtual Environment
  • Part 2 - Setting up a Django Project
  • Part 3 - Templates, Views and URLs
  • Part 4 - Static and Media Files
  • Part 5 - Models and Database
  • Part 6 - Connecting everything
  • Part 7 - Publishing to the internet

  • Buy Me a Coffee