Python Setup
To get my python scripts working i need some special modules. I've found the following approach to be more reliable.
In my .bash_profile
, i have these two lines pretty early on...
[ -d "$HOME/.venv" ] || python3 -m venv "$HOME/.venv"
[ -f "$HOME/.venv/bin/activate" ] && . "$HOME/.venv/bin/activate"
The first line will create your .venv
folder if it doesn't exist. That second activate
line will override your installed python3
and pip3
paths. The following will install the modules that i require.
pip3 install -r requirements.txt
This should set you up to use any of my python
based solutions.