Skip to content

Commit 279af99

Browse files
committed
use python instead of python3
1 parent 30c39f4 commit 279af99

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ jobs:
392392
sudo apt-get install poppler-utils
393393
- run:
394394
name: Create svg, jpg, jpeg, webp, pdf and eps files
395-
command: python3 test/image/make_exports.py
395+
command: python test/image/make_exports.py
396396
- persist_to_workspace:
397397
root: ~/
398398
paths:

.circleci/env_image.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
#!/bin/sh
22
set -e
33
# install required fonts
4+
python --version
45
sudo apt-get install fonts-liberation2 fonts-open-sans fonts-noto-cjk fonts-noto-color-emoji
5-
sudo python3 .circleci/download_google_fonts.py
6+
sudo python .circleci/download_google_fonts.py
67
sudo cp -r .circleci/fonts/ /usr/share/
78
sudo fc-cache -f
89
# install kaleido & plotly
9-
# sudo python3 -m pip install "plotly[kaleido]==6.1.2" --progress-bar off
10+
# sudo python -m pip install "plotly[kaleido]==6.1.2" --progress-bar off
1011
# Once new Kaleido and Plotly versions are released, uncomment the line above, update the Plotly version,
1112
# and delete the two lines below.
12-
sudo python3 -m pip install "git+https://github.com/plotly/plotly.py.git@6837831" --progress-bar off
13-
sudo python3 -m pip install "git+https://github.com/plotly/Kaleido.git@2a4bfa2#subdirectory=src/py" --progress-bar off
13+
sudo python -m pip install "git+https://github.com/plotly/plotly.py.git@6837831" --progress-bar off
14+
sudo python -m pip install "git+https://github.com/plotly/Kaleido.git@2a4bfa2#subdirectory=src/py" --progress-bar off
1415
# install numpy i.e. to convert arrays to typed arrays
15-
sudo python3 -m pip install numpy==1.24.2
16+
sudo python -m pip install numpy==1.24.2

0 commit comments

Comments
 (0)