Skip to main content

Python - Miniconda Guide

Miniconda is a free minimal installer for conda.
It is a small, bootstrap version of Anaconda that includes only conda, Python, the packages they depend on, and a small number of other useful packages, including pip, zlib and a few others.

Download and install the latest version of Miniconda. Then open the Anaconda Prompt

Create new environment#

First create a new folder where you want to create the new environment, like sampleProject1...then cd into this directory.

conda create --prefix ./env

Activate environment#

Change your directory location....

conda activate C:\WorkingDir\Development\Python\PyCourse\sampleProj1\env

Install packages#

Now install the required packages

conda install pandas numpy matplotlib scikit-learn

List all environments#

conda env list

Open previous environment#

Change your directory location....

conda activate C:\WorkingDir\Development\Python\PyCourse\sampleProj1\env

Open Jupyter Notebook#

Once your environment is activated, run jupter notebook

jupyter notebook

Install package in jupyter notebook#

import sys
!conda install --yes --prefix {sys.prefix} textblob
Last updated on