plotly / orca

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

Installation Error: conda channel does not have noarch directory #203

Open josephcarmack opened 5 years ago

josephcarmack commented 5 years ago

I just tried to install plotly-orca using the recommended conda installation method conda install -c plotly plotly-orca and get the following error:

Solving environment: failed

CondaHTTPError: HTTP 403 AUPDOWNLOADPNS for url https://conda.anaconda.org/plotly/noarch/repodata.json Elapsed: 00:00.253400

The remote server could not find the noarch directory for the requested channel with url: https://conda.anaconda.org/plotly

As of conda 4.3, a valid channel must contain a noarch/repodata.json and associated noarch/repodata.json.bz2 file, even if noarch/repodata.json is empty. please request that the channel administrator create noarch/repodata.json and associated noarch/repodata.json.bz2 files.

not sure if this is a problem with the conda plotly channel or if there is something weird with my conda configuration. I tend to think the first case is true since I can install fine from other conda channels.

antoinerg commented 5 years ago

Thank you @josephcarmack for your interest in plotly.js. I am having trouble reproducing your issue and could install plotly-orca using Conda 4.3:

$ docker run -i -t continuumio/anaconda:4.3.1 /bin/bash # to create a container with conda 4.3
$ conda --version
conda 4.3.14
$ conda install -c plotly plotly-orca
Fetching package metadata ...........
Solving package specifications: .

Package plan for installation in environment /opt/conda:

The following NEW packages will be INSTALLED:

    plotly-orca: 1.2.1-1       plotly

The following packages will be UPDATED:

    conda:       4.3.14-py27_0        --> 4.3.30-py27h6ae6dc7_0

Proceed ([y]/n)? y

plotly-orca-1. 100% |#############################################################################################################################| Time: 0:00:04  10.02 MB/s
conda-4.3.30-p 100% |#############################################################################################################################| Time: 0:00:00   4.24 MB/s

Maybe something is wrong with your conda configuration or your network?

josephcarmack commented 5 years ago

@antoinerg Thanks for the feedback. I will dig in a littler deeper to the conda environment and connection to see if I can isolate the problem better and report back what I find.

dlbaker21 commented 5 years ago

On a previous computer I used the command pip install -U pyvisa, but it was single user. I am attempting to use this same command with a multi-user install on Anaconda and this is the error I get. I have been able to execute the mkdir command and the echo command, but am unable to execute the bzip2 command. I have worked on this for 6 hours and am pretty frustrated. I did attempt using the conda install -c anaconda bzip2 command, but then I get the error failed - Permission Error 13. A also tried a sudo chown command that was offered on github with no success.

(base) C:\ProgramData\Anaconda3>conda install -c AltumRF-Dallas-Admin pyvisa Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url https://conda.anaconda.org/AltumRF-Dallas-Admin/noarch/repodata.json Elapsed: 00:00.711005 CF-RAY: 4b0f20b1fbd5c7f8-DFW

The remote server could not find the noarch directory for the requested channel with url: https://conda.anaconda.org/AltumRF-Dallas-Admin

As of conda 4.3, a valid channel must contain a noarch/repodata.json and associated noarch/repodata.json.bz2 file, even if noarch/repodata.json is empty. please request that the channel administrator create noarch/repodata.json and associated noarch/repodata.json.bz2 files. $ mkdir noarch $ echo '{}' > noarch/repodata.json $ bzip2 -k noarch/repodata.json

You will need to adjust your conda configuration to proceed. Use conda config --show channels to view your configuration's current state. Further configuration help can be found at https://conda.io/docs/config.html.