Comment on page
Fixing Common Install Errors
The most Mito installation issues and how to fix them.
Most install errors are a result of conflicting Python packages within your base environment. Thus, most install errors can be fixed by installing Mito inside of a virtual environment. If you are having any trouble with installing Mito, we reccomend you attempt to install Mito inside a virtual environment!
Currently, JupyterLab version 3.x does not support Python 3.12. While we wait on 3.12 support, Mito is unable to install properly on Python 3.12.
conda create -n "mito" python=3.10
conda activate mito
pip install mito
This is the most common error, and it is likely because you have failed to refresh your Jupyter. This is usually fixable through the following steps:
- 1.Shut down all of the currently running Jupyter instances.
- 2.Close all browser tabs with Jupyter open.
- 3.Relaunch Jupyter.
- 4.Retry calling
If this does not work, try rerunning the installer and repeating the above steps.
If your installation fails with a
PermissionError, then you likely will be able to successfully install Mito by rerunning the installation commands with adminstrator privileges.
You're probably receiving this error because you need to install the SSL certificates.
- If you downloaded Python from the official website, then run
/Applications/Python\ 3.9/Install\ Certificates.commandin a terminal (change
3.9to whatever version you installed).
- If you installed Python using MacPorts, run
sudo port install curl-ca-bundlein a terminal.