- Clone leo-editor source code
git clone https://github.com/leo-editor/leo-editor.git
-
Install python3
-
Create a Python virtual environment
python3 -m venv your_environment_name
source your_environment_name/bin/activate
- Install some packages
pip install pyqt6
pip install PyQtWebEngine
pip install docutils markdown nbformat numpy matplotlib nbconvert pygments
pip install jupyter-client==6.1.12 qtconsole
NOTE: jupyter-client-7.3.4 has bug, and can't run qtconsole.
- Change pip source
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
- launch leo-editor
python launchLeo.py