Zubax / canface_cf1

High performance CAN-USB/CAN-UART adapter + UAVCAN devboard
https://zubax.com/products/babel
GNU General Public License v3.0
36 stars 32 forks source link

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

Open pavel-kirienko opened 6 months ago

pavel-kirienko commented 6 months ago

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

Zentrus commented 6 months ago

the error still persists IMG_20240509_130944

pavel-kirienko commented 6 months ago

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