plotly / orca

Command line application for generating static images of interactive plotly charts
MIT License
293 stars 40 forks source link

Orca installation is not found (conda) #325

Open kleurless opened 4 years ago

kleurless commented 4 years ago

Hi! I am trying to export my heatmaply plot as pdf, but I keep running into the same problem. I have installed orca through command-line in conda (as in the installation walkthrough): conda install -c plotly plotly-orca And it worked like a charm:

Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /hpc/hers_basak/rnaseq_data/Pasterkamplab/Juliska/miniconda3/envs/R-DEG

  added / updated specs:
    - plotly-orca

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    openssl-1.1.1g             |       h516909a_0         2.1 MB  conda-forge
    plotly-orca-1.3.1          |                1        56.6 MB  plotly
    ------------------------------------------------------------
                                           Total:        58.7 MB

The following NEW packages will be INSTALLED:

  plotly-orca        plotly/linux-64::plotly-orca-1.3.1-1

The following packages will be UPDATED:

  openssl                                 1.1.1f-h516909a_0 --> 1.1.1g-h516909a_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
openssl-1.1.1g       | 2.1 MB    | ################################################################################################################################################################# | 100% 
plotly-orca-1.3.1    | 56.6 MB   | ################################################################################################################################################################# | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

But when I try to export my plot, it doesn't recognize that orca is installed.

p <- heatmaply_corr(comp_table.intersect, cellnote=p_vals, colors = cols(200), node_type="scatter", label_names=c("Hashikawa", "Embryo", "Correlation"), limits = c(min(comp_table.intersect), max(comp_table.intersect)), cellnote_color="black", cellnote_size=8, cellnote_textposition="middle center", point_size_mat=p_table.intersect, point_size_name="p-value")
orca(p, file="my_plot.pdf")
Error: The orca command-line utility is required for this functionality.

Please follow the installation instructions here -- https://github.com/plotly/orca#installation
Execution halted

When I do conda list orca, it shows that it is installed as well:

# Name                    Version                   Build  Channel
plotly-orca               1.3.1                         1    plotly