pipx Setup

Install pipx on Windows Run commands in Git Bash env PIP_REQUIRE_VIRTUALENV=0 python -m pip install --user pipx python -m pipx ensurepath --force Open a new Git Bash terminal pipx --version If getting an error during the installation of packages using pipx No Python at 'C:\Users\<username>\AppData\Local\Programs\Python\PythonX\python.exe' Then remove the following folder C:\Users\<username>\.local\pipx If still having the same issue Then remove the following folder as well C:\Users\<username>\AppData\Local\pipx

May 30, 2024 · 1 min

Add Python Venv to Jupyther Notebook

How to add a python virtual env to jupyther notebook : Activate the virtual environment, e.g. myvenv. Install ipykernel which provides the IPython kernel for Jupyter Add the virtual environment,myvenv, to Jupyter by typing: python -m ipykernel install --user --name=myvenv

April 22, 2022 · 1 min