Skip to content

Commit fae9f08

Browse files
committed
try python3 without sudo
1 parent 3f13771 commit fae9f08

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
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: python test/image/make_exports.py
395+
command: python3 test/image/make_exports.py
396396
- persist_to_workspace:
397397
root: ~/
398398
paths:

.circleci/env_image.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
#!/bin/sh
22
set -e
3+
python3 --version
34
# install required fonts
45
sudo apt-get install fonts-liberation2 fonts-open-sans fonts-noto-cjk fonts-noto-color-emoji
5-
python .circleci/download_google_fonts.py
6+
python3 .circleci/download_google_fonts.py
67
sudo cp -r .circleci/fonts/ /usr/share/
78
sudo fc-cache -f
89
# install kaleido & plotly
910
# 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-
python -m pip install "git+https://github.com/plotly/plotly.py.git@6837831" --progress-bar off
13-
python -m pip install "git+https://github.com/plotly/Kaleido.git@2a4bfa2#subdirectory=src/py" --progress-bar off
13+
python3 -m pip install "git+https://github.com/plotly/plotly.py.git@6837831" --progress-bar off
14+
python3 -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-
python -m pip install numpy==1.24.2
16+
python3 -m pip install numpy==1.24.2

0 commit comments

Comments
 (0)