mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
ubuntu_setup: fix No module apt_pkg error when setting up (#32526)
* no apt_pkg fix
* check arch
* fix if
* cleanup
* reorder
* increase shm size for selfdrive tests
* add comment explaining reinstall
* refine
old-commit-hash: f4322666c6
This commit is contained in:
committed by
GitHub
parent
3ad7205042
commit
f90655a1ff
@@ -15,7 +15,10 @@ export MAKEFLAGS="-j$(nproc)"
|
||||
|
||||
|
||||
echo "update pip"
|
||||
if [ ! -z "\$VIRTUAL_ENV_ROOT" ] || [ ! -z "$INSTALL_DEADSNAKES_PPA" ] ; then
|
||||
if [ ! -z "$VIRTUAL_ENV_ROOT" ] || [ ! -z "$INSTALL_DEADSNAKES_PPA" ] ; then
|
||||
if [ -z "$VIRTUAL_ENV_ROOT" ]; then
|
||||
export VIRTUAL_ENV_ROOT="venv"
|
||||
fi
|
||||
python3 -m venv --system-site-packages $VIRTUAL_ENV_ROOT
|
||||
source $VIRTUAL_ENV_ROOT/bin/activate
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user