Install leo-editor from source

130 阅读1分钟
  1. Clone leo-editor source code
git clone https://github.com/leo-editor/leo-editor.git
  1. Install python3

    www.python.org/downloads/

  2. Create a Python virtual environment

python3 -m venv your_environment_name
source your_environment_name/bin/activate
  1. 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.

  1. Change pip source
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
  1. launch leo-editor
python launchLeo.py

image.png