Using Anaconda Behind a Firewall or Proxy

Using Anaconda Behind a Firewall or Proxy

This very brief blog post will document how to configure Anaconda’s .condarc file to be able download packages from an external server in a Corporate environment. I’m mainly writing this so I don’t have to Google it again if I forget.

To begin, you first have to create the .condarc file. Open an Anaconda prompt and type:

conda config --add channels conda-forge

The file will then be created in the C:\Users\<username>\ directory (on Windows), and you can then open and edit it in your text editor. You simply have to add your proxy information (for HTTP and HTTPS) to the file, and everything should be set.

channels:
  - conda-forge
  - defaults

proxy_servers:
    http: http://user:pass@hostname:port
    https: https://user:pass@hostname:port


2021

Back to Top ↑

2019

Introduction to Pandas Profiling

1 minute read

Recently I learned of a cool Python package calledpandas_profilingthat serves as an extension of the pandas.DataFrame.describe() function in the pandas modul...

Nightfall Posts from the Last Week

less than 1 minute read

This post is simply a collection of some of my favorite webcomics that my synthetic intelligence, nightfall, created during the last week and a half from Se...

Back to Top ↑