Install Anaconda
Download Anaconda Individual Edition from the following link: https://www.anaconda.com/products/individual
Follow the steps in the installer.
Launch Anaconda
If prompted to update Anaconda, CHOOSE NO
Create a Working Environment
Create new Environment
A few anaconda packages require Python 3.8 in order to function properly. By default, new installations of Anaconda come with Python 3.12.
- To create a new Python environment, open Anaconda Navigator and select “Environments” on the left
- Click the “Update Index…” button
- Once that finishes updating, click “Create” down near the bottom
- Name your environment, and select Python 3.8 as your python version.
- Once created, you will need to install your packages
Install Packages
- From the “Environments” screen, make sure you have MISY408 selected. In the list of packages to the right, change the dropdown menu from “Installed” to “Not Installed”
- Begin searching for your packages, using the “Search Packages” tool on the right. To select the package, click the checkbox by its name.
- You’ll need to search for:
- pydotplus
- tensorflow
- keras
- matplotlib
- numpy
- pandas
- scikit-learn
- scipy
- seaborn
- statsmodels
- six
- chardet
- cchardet
- You’ll need to search for:
- Once you have all these packages selected, click the “Apply” button and wait for the install packages dialog to finish “Solving” the specifications
- Anaconda should install them. You can verify that they have been installed by searching the “Installed” list to see that they are there.
- If they are not available, ensure that you have enough drive space on your computer.
- Once installed, go to the “Home” tab on the left side of Anaconda Navigator
- Ensure that the MISY408 environment is selected from the dropdown
- Under JupyterLab, click “Install”
Using your Working Environment
- Launch Anaconda Navigator
- Once you have that launched, ensure that the dropdown beside “Applications on” is set on the environment you created. (It will often default to “base” which may not have everything you need)
- Launch Jupyter or any other apps you may need as normal.
Uninstall Anaconda
Failing all else, if your Anaconda installation is completely non-operable, you may need to uninstall Anaconda before reinstalling it.
Windows
- Exit Anaconda Navigator
- Once closed, open the Anaconda Prompt app from the Start menu
- Run the following commands: conda install anaconda-clean anaconda-clean –yes
- When this completes, close the Anaconda Prompt
- From the start menu, search for Apps & Features
- In the list of installed applications, search for Anaconda
- Once located, follow the steps to uninstall Anaconda Navigator
MacOS
- Close Anaconda Navigator (Make sure to go to File -> Exit in your menu)
- Open the Terminal app.
- In terminal, type these two commands:
mv ~/.bash_profile ~/bash_profile_bkp
touch ~/.bash_profile
- Now, install and run the Anaconda clean package with these two commands (be sure to follow the prompts for these):
conda install anaconda-clean anaconda-clean --yes
- Close the Terminal app.
- Open Finder and go to the “Go” Menu
- Click “Go to Folder” and type: ~
- Hit Enter
- Once there, move these folders (if they are visible) to the trash: opt anaconda3