Zubax/canface_cf1

`tools/drwatson/setup.sh` is missing PIP_BREAK_SYSTEM_PACKAGES=1

Opened this issue · 2 comments

Due to an unfortunate change in recent versions of pip, the configuration scripts are now broken.

For now, in order to make it work, one has to export this variable beforehand:

PIP_BREAK_SYSTEM_PACKAGES=1 ./setup.sh

Alternatively, to fix it once and for all on a given machine, export this variable globally:

echo "export PIP_BREAK_SYSTEM_PACKAGES=1" >> ~/.bashrc

And then restart the CLI session.

@Zentrus FYI

the error still persists
IMG_20240509_130944

ah it's because the script invokes pip as root; I will look into that