Skip to content

Instantly share code, notes, and snippets.

@lboulard
Last active March 13, 2024 18:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lboulard/e22b5603deb38413e1340ccd22728ede to your computer and use it in GitHub Desktop.
Save lboulard/e22b5603deb38413e1340ccd22728ede to your computer and use it in GitHub Desktop.
pipx and Jupyter Qt console

pipx version

pipx --version
0.16.3

First installation

pipx install --include-deps jupyterlab
pipx inject jupyterlab matplotlib numpy jupyter-console scipy simpy sympy
pipx inject jupyterlab arrow pandas tabulate isort black jupyterlab_code_formatter
pipx inject jupyterlab PyQt5 qtconsole drawSvg CairoSVG
pipx inject jupyterlab asn1tools cbor2 cryptography pycryptodome

Upgrade installed

Use --include-injected from version 0.16.2.0 (Commit).

pipx upgrade --include-injected --pip-args=--upgrade-strategy=eager -f jupyterlab

Else, use runpip avialable starting version 0.13.

pipx upgrade jupyterlab
pipx runpip jupyterlab install -U matplotlib numpy jupyter-console scipy sympy
pipx runpip jupyterlab install -U arrow pandas tabulate isort black jupyterlab_code_formatter
pipx runpip jupyterlab install -U PyQt5 qtconsole drawSvg CairoSVG
pipx runpip jupyterlab install -U asn1tools cbor2 cryptography pycryptodome

List all installed software

py -m pipx install black[d]
py -m pipx install isort
py -m pipx install mypy
py -m pipx install pip-tools
py -m pipx install pipenv
py -m pipx install poetry
py -m pipx install pyproject-fmt
py -m pipx install doit

py -m pipx install jsbeautifier
py -m pipx install yamllint
py -m pipx install hashit
py -m pipx install pygments
py -m pipx install md-toc

py -m pipx install pe-tree
py -m pipx install yt-dlp
py -m pipx install pe-tree
py -m pipx install meson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment