Installing Mito Inside a Virtual Environment

Installing Mito Inside a Virtual Environment can help fix installation problems.
Python Virtual Environment
Anaconda Navigator
Conda Virtual Environment
First, create a new environment:
python3 -m venv mitoenv
Then, activate the environment. On Windows in command prompt:
On Mac:
source mitoenv/bin/activate
Then, install the Mito installer:
python -m pip install mitoinstaller
Then, run it:
python -m mitoinstaller install
To install Mito within an Anaconda Navigatior virtual environment:
  1. 1.
    Select Environments in the left navigation.
  2. 2.
    Select the Create button to create a new environment. Give it an appropriate name like Mito, and make sure it is configured to use Python >3.6.
  3. 3.
    After the environment is created, switch to Home, and select the Mito environment you just created.
  4. 4.
    Open an Anaconda Prompt, and then run the commands
python -m pip install mitoinstaller
python -m mitoinstaller install
In the future, you can launch JupyterLab from the Anaconda Navigator home page, and create a mitosheet from there.

Installing Mito in a Conda virtual environment

First, create a new conda environment:
conda create -n mitoenv python=3.8
Then, activate your new environment:
conda activate mitoenv
Then, download the Mito package:
python -m pip install mitoinstaller
Then, run the installer. This command may take a few moments to run:
python -m mitoinstaller install
After installing, you can create your first Mitosheet: