Installing a Python Environment

This course will use a number of packages that are not included with a standard Python installation. For convenience, these are included in an environment file that is compatible with the conda package manager. If you already have an existing Anaconda or Miniconda installation on your system, you may be able to simply install the new environment and use it (unless your operating system is Windows; more on this below). Alternatively, you can follow the instructions for your operating system below.

Note: This environment contains the psi4 package, which is not available for Windows. If you are using Windows, then you will not be able to use an existing anaconda/miniconda installation, and you will need to follow the instructions below.

Windows

As noted above, the psi4 package that we will use in the course is not available for Windows. However, there is a workaround that is straightforward: using the Windows Subsystem for Linux.

Note: if you store your files elsewhere, such as an external hard drive, the disk drives that are mounted are available by letter in the mnt folder (e.g., /mnt/d, /mnt/e, etc.). You may create additional links to other drives as needed. The syntax is ln -s target/folder linkName.

MacOS

Setup is complete! Move on to Running Jupyter Lab.

Linux

Setup is complete! Move on to Running Jupyter Lab.

ChromeOS

*Note: Many Chromebooks are just not suitable for running a Python environment, particularly those that have very limited hard disk space. It may not be possible to complete all of the coursework with a Chromebook! These instructions have not been extensively tested, so proceed at your own risk.

Running Jupyter Lab

Jupyter Lab is a Python notebook environment that runs in your web browser. The che155 environment that was created during the installation contains the Jupyter Lab software configured with extensions for interactive graphics.

When you are finished working, it is best to shut down the jupyter server by choosing File > Shut Down from the JupyterLab menu. Once you have done so, you can close the browser tab and close out your terminal session if desired.