Mito
Search
K
Comment on page

Installing Mito

How to install the mitosheet package for Jupyter.

Requirements

  1. 1.
    Check that you have Python 3.6 or above, and Python 3.11 or below by opening a terminal and running python --version
  2. 2.
    By installing Mito, you are agreeing to Mito's Terms of Service and Privacy Policy.
Installing Mito in a virtual environment reduces dependency issues and ensures that Mito will not impact any of your other Python projects.
Python Virtual Environment
Anaconda Navigator
Conda Virtual Environment
Create a new environment:
python -m venv mitoenv
Activate the environment:
  • On Windows in command prompt:
mitoenv\Scripts\activate.bat
  • On Mac:
source mitoenv/bin/activate
Install the Mito installer:
python -m pip install mitoinstaller
Run the Mito installer:
python -m mitoinstaller install
Then, follow these instructions to create a mitosheet.
Install Mito
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
  3. 3.
    Give your new environment a descriptive name like Mito
  4. 4.
    Make sure it is configured to use Python >3.6
  5. 5.
    Click create
  6. 6.
    After the environment is created, switch to Home, and select the Mito environment you just created.
  7. 7.
    Select the "▶" icon next to your new environment. Then select "Open terminal".
  8. 8.
    In the terminal, install Mito by running the command:
python -m pip install mitosheet
Use Mito
  1. 1.
    Click on the Home button
  2. 2.
    Find the Juptyer Lab tile and press Launch
  3. 3.
    Then, follow these instructions to create a new mitosheet.

Installing Mito in a Conda virtual environment

Create a new conda environment:
conda create -n mitoenv python=3.10
Activate your new environment:
conda activate mitoenv
Download the Mito package:
python -m pip install mitoinstaller
Run the installer. This command may take a few moments to run:
python -m mitoinstaller install
Then, follow these instructionst to create a new mitosheet.

Installing Mito without the Mito installer

Mito can be installed for JupyterLab and Streamlit without executing the Mito installer. Just run the following command:
python -m pip install mitosheet
You can use this approach to install Mito using a Docker or requirements.txt file.
Want help? Get in contact with our support team through Discord, Slack, or by emailing [email protected]