Install failed
Hi,
As described I have:
$> python -m pip install mitoinstaller
=> OK
$> python -m mitoinstaller install
Starting Mito install. This make take a few moments.
In the meantime, check out a 2 minute intro to Mito: https://www.youtube.com/watch?v=LFfWfqzdKyE
Upgrade mitoinstaller
Setting up environment
Check dependencies
Traceback (most recent call last):
File "/home/mic/.pyenv/versions/jupyter_env/lib/python3.10/site-packages/mitoinstaller/installer_steps/installer_step.py", line 44, in execute
self.execution_function()
File "/home/mic/.pyenv/versions/jupyter_env/lib/python3.10/site-packages/mitoinstaller/installer_steps/mitosheet_installer_steps.py", line 37, in install_step_mitosheet_check_dependencies
raise Exception('Installed extensions {extension_names}'.format(extension_names=extension_names))
Exception: Installed extensions ['jupyterlab_pygments', 'jupyterlab-plotly', 'jupyterlab-wakatime', 'jupyterlab-quarto', 'codeium-jupyter', '@jupyter-notebook/lab-extension', '@jupyter-widgets/jupyterlab-manager']
Can you fix what happened? Rgds,
Hey @MrMic thanks for opening this issue + sorry for the troubles! The installation might have failed for a few reasons. Can you share here the list of Python packages in this environment? I'll take a look for incompatibilities.
Here it is @aarondr77 And thanks for troubleshooting this issue.
I'm eager to read how to fix it. Rgds,
I see what's happening here. The installation is failing because of two main issues:
- The dependency check is detecting existing JupyterLab extensions that might conflict with the installation
- There might be a caching issue during the installation process
Here's how to fix it:
- First, create a fresh virtual environment to avoid conflicts:
python -m venv mito_env
source mito_env/bin/activate # On Windows, use: mito_env\Scripts\activate
- Then install with the no-cache flag:
python -m pip install mitoinstaller
python -m mitoinstaller install --no-cache-dir
This solution is based on:
- The installer code from mitosheet_installer_steps.py which shows the dependency checking logic
- Previous successful installations documented in realinstall.sh
- Known issues with pip caching during installation
Important notes:
- The --no-cache-dir flag helps avoid getting stuck during installation
- Installing in a fresh virtual environment prevents conflicts with existing extensions
- Make sure you're using Python 3.7 or higher, but not Python 3.12 (as it's not yet supported)
Let me know if you run into any issues with these steps, and I'll be happy to help further!