tags: python setup conda Regular modules include ``` mysql-connector-python python-rtmidi python-osc icecream pgrep setproctitle ansicolors PySide6 PyQt6 PyQt5 numpy scipy requests pyserial pycryptodome pexpect sympy matplotlib pillow pyquery ``` So something like ``` python -m pip install mysql-connector-python python-rtmidi python-osc icecream pgrep setproctitle ansicolors PySide6 numpy scipy requests pyserial pycryptodome pexpect sympy matplotlib pillow ``` ## Jupyter See [Jupyter Homepage](https://jupyter.org/). To install ``` pip install jupyterlab ``` then to run ``` jupyter lab ``` It is recommended to do this in an [anaconda](https://www.anaconda.com/download) venv (see [anaconda notes](/lang/python/anaconda)). For a full install: ```bash python -m pip install scipy numpy matplotlib sympy jupyterlab ``` ## Ubuntu 24.04 Some have to use `--break-system-packages` since I want them outside of a venv, and they are not in the repo. Where a repo version is available, I use it. Note that my user has write permission to `/usr/local` on my machines. ``` sudo apt install -y python3-mysql.connector python3-rtmidi python3-icecream python3-setproctitle python3-colors python3-numpy python3-pip python3-venv python3-scipy python3-requests python3-serial python3-pycryptodome python3-pexpect expect python3-tk python3-ttkthemes python3-pyquery python3-unidecode python -m pip install --break-system-packages PySide6 python-osc pgrep ``` # From history.log I obtained these via `cd /var/log/apt; zcat history*.gz | cat history.log - | grep -P "apt install.*python3" > ~/ram/install_python3` ``` apt install -y python3-parsedatetime apt install -y python3-dev python3-setuptools apt install -y python3-zstd apt install -y python3-zstandard apt install -y python3-pyquery apt install -y python3-matplotlib* apt install -y python3-sympy python3-texext python-sympy-doc isympy3 apt install -y python3-soundfile apt install python3-mysql.connector python3-rtmidi python3-icecream python3-setproctitle python3-colors python3-numpy python3-scipy python3-requests python3-serial python3-pycryptodome python3-pexpect apt install -y python3-lupa apt install -y python3-psycopg apt install -y python3-humanize apt install -y python3-whoosh apt install -y python3-xlib python3-jsonrpc python3-werkzeug apt install -y python3-gmpy2 apt install -y python3-tabulate apt install -y python3-unidecode ```