diff --git a/sources/Misc/Python.md b/sources/Misc/Python.md new file mode 100644 index 0000000..bf552e2 --- /dev/null +++ b/sources/Misc/Python.md @@ -0,0 +1,12 @@ +Random tips and tricks when dealing with Python + +## `No space left on device` when installing dependencies + +Set the `TMPDIR` env var to a folder on a device with enough space. +Make sure the folder has been created beforehand. + +```bash +export TMPDIR=$HOME/.piptmp +mkdir -p $TMPDIR +pip install ... +```