From a364a6f2207315d364e5eabafa0186b85b6e0263 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Thu, 19 Mar 2020 16:42:23 -0400 Subject: [PATCH] pin orca in docs --- .circleci/create_conda_optional_env.sh | 2 +- doc/python/getting-started.md | 2 +- doc/python/orca-management.md | 2 +- doc/python/static-image-export.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/create_conda_optional_env.sh b/.circleci/create_conda_optional_env.sh index d1d48f7e998..97d88ce7c44 100755 --- a/.circleci/create_conda_optional_env.sh +++ b/.circleci/create_conda_optional_env.sh @@ -19,5 +19,5 @@ if [ ! -d $HOME/miniconda/envs/circle_optional ]; then requests nbformat six retrying psutil pandas decorator pytest mock nose poppler xarray scikit-image ipython jupyter ipykernel ipywidgets # Install orca into environment - $HOME/miniconda/bin/conda install --yes -n circle_optional -c plotly plotly-orca + $HOME/miniconda/bin/conda install --yes -n circle_optional -c plotly plotly-orca==1.2.1 fi diff --git a/doc/python/getting-started.md b/doc/python/getting-started.md index e4b2fe51249..73aa5696371 100644 --- a/doc/python/getting-started.md +++ b/doc/python/getting-started.md @@ -199,7 +199,7 @@ installation of the plotly [orca](https://github.com/plotly/orca) command line u These dependencies can all be installed using conda: ``` -$ conda install -c plotly plotly-orca psutil requests +$ conda install -c plotly plotly-orca==1.2.1 psutil requests ``` Or, `psutil` and `requests` can be installed using pip... diff --git a/doc/python/orca-management.md b/doc/python/orca-management.md index 2a1533ebff8..7f0b471c474 100644 --- a/doc/python/orca-management.md +++ b/doc/python/orca-management.md @@ -164,7 +164,7 @@ Searched for executable 'orca' on the following path: If you haven't installed orca yet, you can do so using conda as follows: - $ conda install -c plotly plotly-orca + $ conda install -c plotly plotly-orca==1.2.1 Alternatively, see other installation methods in the orca project README at https://github.com/plotly/orca. diff --git a/doc/python/static-image-export.md b/doc/python/static-image-export.md index 387fbdd24d5..1ea419b3d08 100644 --- a/doc/python/static-image-export.md +++ b/doc/python/static-image-export.md @@ -47,10 +47,10 @@ Static image generation requires the [orca](https://github.com/plotly/orca) comm ##### conda Using the [conda](https://conda.io/docs/) package manager, you can install these dependencies in a single command: ``` -$ conda install -c plotly plotly-orca psutil requests +$ conda install -c plotly plotly-orca==1.2.1 psutil requests ``` -**Note:** Even if you do not want to use conda to manage your Python dependencies, it is still useful as a cross platform tool for managing native libraries and command-line utilities (e.g. git, wget, graphviz, boost, gcc, nodejs, cairo, etc.). For this use-case, start with [Miniconda](https://conda.io/miniconda.html) (~60MB) and tell the installer to add itself to your system `PATH`. Then run `conda install plotly-orca` and the orca executable will be available system wide. +**Note:** Even if you do not want to use conda to manage your Python dependencies, it is still useful as a cross platform tool for managing native libraries and command-line utilities (e.g. git, wget, graphviz, boost, gcc, nodejs, cairo, etc.). For this use-case, start with [Miniconda](https://conda.io/miniconda.html) (~60MB) and tell the installer to add itself to your system `PATH`. Then run `conda install plotly-orca==1.2.1` and the orca executable will be available system wide. ##### npm + pip You can use the [npm](https://www.npmjs.com/get-npm) package manager to install `orca` (and its `electron` dependency), and then use pip to install `psutil`: