Skip to content

Commit

Permalink
Merge pull request #2295 from plotly/pin_orca_docs
Browse files Browse the repository at this point in the history
Pin orca docs
  • Loading branch information
nicolaskruchten authored Mar 20, 2020
2 parents 604b439 + a364a6f commit 878da7e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/create_conda_optional_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion doc/python/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
2 changes: 1 addition & 1 deletion doc/python/orca-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions doc/python/static-image-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:
Expand Down

0 comments on commit 878da7e

Please sign in to comment.