Skip to content

Commit 358e694

Browse files
committed
fix: python env
1 parent 2787854 commit 358e694

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.circleci/config_continue.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ jobs:
7777
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
7878
- run: echo "unalias pip" >> ~/.bashrc
7979
- run: echo "unalias python" >> ~/.bashrc
80-
- run: apt update && apt install -y python3.8-minimal
80+
- run: apt update && apt install -y python3.8-minimal python3-pip
8181
- run: update-alternatives --install "/usr/bin/python" python /usr/bin/python3.8 2
82-
- run: python -m pip --upgrade pip
83-
- run: echo "alias pip3 python -m pip" >> ~/.bashrc
82+
- run: python -m pip install --upgrade pip
83+
- run: echo "alias pip3='python -m pip'" >> ~/.bashrc
8484
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
8585
- run: make with-drf
8686
- run: (cd .circleci/ && ./websiteDrfAsync.sh)
@@ -96,10 +96,10 @@ jobs:
9696
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
9797
- run: echo "unalias pip" >> ~/.bashrc
9898
- run: echo "unalias python" >> ~/.bashrc
99-
- run: apt update && apt install -y python3.8-minimal
99+
- run: apt update && apt install -y python3.8-minimal python3-pip
100100
- run: update-alternatives --install "/usr/bin/python" python /usr/bin/python3.8 2
101-
- run: python -m pip --upgrade pip
102-
- run: echo "alias pip3 python -m pip" >> ~/.bashrc
101+
- run: python -m pip install --upgrade pip
102+
- run: echo "alias pip3='python -m pip'" >> ~/.bashrc
103103
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
104104
- run: make with-drf
105105
- run: (cd .circleci/ && ./websiteDrfSync.sh)

0 commit comments

Comments
 (0)