Cant install plotly orca

Hi ,

I have been trying to install plotly orca to be able to download static plotly plot, but for some reasons, this has not been possible.

I keep getting same error message on my cmd:

conda install -c plotly plotly-orca :clip
Collecting package metadata: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pk
gs/r/win-64/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

ProxyError(MaxRetryError(“HTTPSConnectionPool(host=‘repo.anaconda.com’, port=443
): Max retries exceeded with url: /pkgs/r/win-64/repodata.json.bz2 (Caused by Pr
oxyError(‘Cannot connect to proxy.’, NewConnectionError(’<urllib3.connection.Ver
ifiedHTTPSConnection object at 0x00000073A9A132B>: Failed to establish a new co
nnection: [Errno 11001] getaddrinfo failed’)))”))

Any Help?

The error you are receiving is that you can’t connect to Anaconda’s default channels, this likely means you can’t install anything from Anaconda.

Try something simple and see if you get the same error like:

conda install requests

If like me you are in a large enterprise then you are likely blocked by a corporate firewall and either need to use a proxy, get an exception in your firewall to connect to Anaconda, or use an internal version of the conda channels.

Also not sure what the “:clip” part of your command is about? You probably want to remove that.

Hi Damian,

i can install other libraries from Anaconda. The library you sent works ok.

(base) C:\Users>conda install requests
Collecting package metadata: done
Solving environment: done

Package Plan

environment location: C:\ProgramData\Miniconda3

added / updated specs:
- requests

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
openssl-1.1.1c             |       he774522_1         5.7 MB
------------------------------------------------------------
                                       Total:         5.7 MB

The following packages will be UPDATED:

openssl 1.1.1b-he774522_1 --> 1.1.1c-he774522_
1

Proceed ([y]/n)?

I just dont know why plotly orca cant install.

Weird because the error is very clear that you are failing to download https://repo.anaconda.com/pkgs/r/win-64/repodata.json.bz which is the metadata on the R channel and is not related to Orca. Try it again? Maybe it was a temporary issue.

Still no luck.

(base) C:\windows\system32>conda install -c plotly plotly-orca
Collecting package metadata: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/p
lotly/noarch/repodata.json>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

ProxyError(MaxRetryError(“HTTPSConnectionPool(host=‘conda.anaconda.org’, port=44
3): Max retries exceeded with url: /plotly/noarch/repodata.json (Caused by Proxy
Error(‘Cannot connect to proxy.’, OSError(‘Tunnel connection failed: 403 Forbidd
en’)))”))

Some luck, before you were getting error HTTP 443 connecting to https://repo.anaconda.com/pkgs/r/win-64/repodata.json.bz2 now you getting error HTTP 403 connecting to https://conda.anaconda.org/plotly/noarch/repodata.json .

You’re at least now being denied access to the plotly channel itself and not one of the default Anaconda channels. In both cases though it very explicitly says:

Caused by ProxyError(‘Cannot connect to proxy.’

So it’s your proxy that’s causing this problem, these channels are normally accessible, either you need to figure out what is wrong with your proxy (could be purposefully blocking) or you just need to keep trying and hope it eventually works (can be the case if it’s a corporate proxy doing threat detection to a url before allowing you access).