mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
setup: another try to install pip dependencies
This commit is contained in:
@@ -96,9 +96,11 @@ sudo apt-get -yy --quiet --no-install-recommends install \
|
|||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
|
python-setuptools \
|
||||||
python \
|
python \
|
||||||
python-dev \
|
python-dev \
|
||||||
python-pip \
|
python-pip \
|
||||||
|
python3-setuptools \
|
||||||
rsync \
|
rsync \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
unzip \
|
unzip \
|
||||||
@@ -116,16 +118,12 @@ fi
|
|||||||
# Python3 dependencies
|
# Python3 dependencies
|
||||||
echo
|
echo
|
||||||
echo "Installing PX4 Python3 dependencies"
|
echo "Installing PX4 Python3 dependencies"
|
||||||
pip3 install --user --upgrade pip setuptools wheel
|
|
||||||
hash -d pip3 # Needed to prevent ImportError: cannot import name 'main'
|
|
||||||
pip3 install --user -r ${DIR}/requirements.txt
|
pip3 install --user -r ${DIR}/requirements.txt
|
||||||
|
|
||||||
|
|
||||||
# Python2 dependencies
|
# Python2 dependencies
|
||||||
echo
|
echo
|
||||||
echo "Installing PX4 Python2 dependencies"
|
echo "Installing PX4 Python2 dependencies"
|
||||||
pip install --user --upgrade pip setuptools wheel
|
|
||||||
hash -d pip3 # Needed to prevent ImportError: cannot import name 'main'
|
|
||||||
pip install --user -r ${DIR}/requirements.txt
|
pip install --user -r ${DIR}/requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user