Skip to content

Commit

Permalink
Create Python.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bastantoine authored Jan 17, 2025
1 parent 1d4817f commit 0e96257
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sources/Misc/Python.md
Original file line number Diff line number Diff line change
@@ -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 ...
```

0 comments on commit 0e96257

Please sign in to comment.