Dup Goto 📝

MyUsualPackages

PT2/lang/python 10-06 19:32:20
To Pop
12 lines, 43 words, 407 chars Sunday 2024-10-06 19:32:20

See my Python setup notes.

Force Reinstall

To force reinstall of all packages.

#!/bin/bash

pip freeze --local >| pipfreeze.txt
grep == pipfreeze.txt | cut -f1 -d= >| pipfreeze2.txt
pip install --upgrade --force-reinstall --no-cache-dir $(<pipfreeze2.txt)

This was adapted from this gist.