# Using Plotly with AWS Sagemaker (installing Orca problem)

**URL:** <https://community.plotly.com/t/using-plotly-with-aws-sagemaker-installing-orca-problem/35000>\
**Category:** Dash Python\
**Created:** [February 15, 2020, 12:24am UTC](https://community.plotly.com/t/using-plotly-with-aws-sagemaker-installing-orca-problem/35000 "2020-02-15T00:24:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![El\_pwon](https://avatars.discourse-cdn.com/v4/letter/e/e95f7d/32.png) [@El\_pwon](https://community.plotly.com/u/El_pwon)\
**Post date:** [February 15, 2020, 12:24am UTC](https://community.plotly.com/t/using-plotly-with-aws-sagemaker-installing-orca-problem/35000/1 "2020-02-15T00:24:22Z")

</div>

Hello Friends,

I am trying to launch a .ipynb on sagemaker that has some charts generated by plotly offline, but I run into issues when it comes to installing Orca.

I did the correct installation using conda install, but keep coming across this error:

ValueError:  
The orca executable is required to export figures as static images,  
but it could not be found on the system path.

Searched for executable ‘/path/to/orca’ on the following path:  
/home/ec2-user/anaconda3/envs/amazonei\_mxnet\_p36/bin  
/usr/libexec/gcc/x86\_64-amazon-linux/4.8.5  
/usr/local/cuda/bin  
/usr/local/bin  
/opt/aws/bin  
/usr/local/mpi/bin  
/usr/libexec/gcc/x86\_64-amazon-linux/4.8.5  
/opt/amazon/openmpi/bin  
/opt/amazon/efa/bin/  
/usr/libexec/gcc/x86\_64-amazon-linux/4.8.5  
/home/ec2-user/anaconda3/bin/  
/usr/local/cuda/bin  
/usr/local/bin  
/opt/aws/bin  
/usr/local/mpi/bin  
/usr/libexec/gcc/x86\_64-amazon-linux/4.8.5  
/usr/local/cuda/bin  
/usr/local/bin  
/opt/aws/bin  
/home/ec2-user/src/cntk/bin  
/usr/local/mpi/bin  
/opt/aws/neuron/bin  
/home/ec2-user/anaconda3/envs/JupyterSystemEnv/bin  
/home/ec2-user/anaconda3/bin/  
/usr/libexec/gcc/x86\_64-amazon-linux/4.8.5  
/usr/local/cuda/bin  
/usr/local/bin  
/opt/aws/bin  
/usr/local/mpi/bin  
/usr/libexec/gcc/x86\_64-amazon-linux/4.8.5  
/opt/amazon/openmpi/bin  
/opt/amazon/efa/bin/  
/usr/local/bin  
/bin  
/usr/bin  
/usr/local/sbin  
/usr/sbin  
/sbin  
/opt/aws/bin  
/opt/aws/bin

If you haven’t installed orca yet, you can do so using conda as follows:

```
$ conda install -c plotly plotly-orca

```

Alternatively, see other installation methods in the orca project README at

> **[plotly/orca](https://github.com/plotly/orca)**
>
> Command line application for generating static images of interactive plotly charts - plotly/orca

After installation is complete, no further configuration should be needed.

If you have installed orca, then for some reason plotly.py was unable to  
locate it. In this case, set the `plotly.io.orca.config.executable`  
property to the full path of your orca executable. For example:

```
>>> plotly.io.orca.config.executable = '/path/to/orca'

```

Is there any way to use it with Sagemaker, or is it incompatible
