MANE 3351
Supplemental Material
Anaconda Environments
This material will demonstrate creating a conda environment for MANE 4333 and loading the major packages that will be used throughout this course. I prefer to work from the command line, often called command line interface (CLI). The screen captures are taken from my Mac Mini computer. This demonstration assumes that Anaconda Python is already installed.
Preparing to Create an Environment
- On Mac, open a terminal
- On Windows, start Anaconda Prompt
- Notice in the figure below that (base) proceeds the location. This indicates that no environment is currently in use.

Creating an Anaconda Environment
- To create an environment named env_4333 using the latest version of Python (3.12.4), type the command shown in the figure below and hit return
- It would be more appropriate for this class to create env_3351 instead of env_4333

Proceed
- A list of packages to be installed will be displayed
- Type y and hit enter

Environment Created
-
After entering y and hitting enter at the proceed prompt, you will see the information shown below.
-
This information provides instructions to activate and deactive the environment

Activating env_4333
- Enter the command to activate the environment into the terminal window (Mac version shown) and then hit return
- The terminal window before the return key was entered is shown below

Success
- Notice in the screen capture shown below that (base) has changed to (env_4333) indicating that we are using the environment
- To stop using the environment enter conda deactivate

Installing Python Packages in Windows
- We will use conda-forge
- Make sure that your terminal has activated env_4333 or whatever name you entered
- Type the following commands:
- $conda install conda-forge::numpy
- $conda install conda-forge::scipy
- $conda install conda-forge::pandas
- $conda install conda-forge::matplotlib
- $conda install conda-forge::scikit-learn
- $conda install conda-forge::notebook
Installing Python Packages on Macintosh
- Spent a full day debugging this
- Make sure that your terminal has activated env_4333
- We must use pip install
- Type the following commands:
- $pip install numpy
- $pip install scipy
- $pip install pandas
- $pip install matplotlib
- $pip install scikit-learn
- $pip install notebook