Git have no Github access via pip command in anaconda prompt

Git have no Github access via pip command in anaconda prompt

I have experience a strange issue where when I try to install a github package using pip in anaconda prompt, it would try to run and gave error that the request has timed out during "git clone" process. For example, when I ran this line:

I have configured domain whitelisting for github, including
  1. github.com

  2. git-scm.com

  3. githubusercontent.com

  4. githubassets.com

and did set up the proxy settings within the conda base environment as recommended in the article https://support.mydre.org/portal/en/kb/articles/proxy-configurations-anaconda-miniconda.

Github.com is accessible via browser.
It is also available by git when accessed, for example, using Github Desktop app.

Currently, I do a work around by first downloading the source code from github.com from the browser, unzip, navigate to the folder and do 
pip install -e .
This makes getting new packages extremely tedious...

Would anyone have an idea why git failed when prompted in pip?


My workspace: dws-1608-WONGLAB
Virtual Machine: dws1608WONGLABserver1
Conda version: miniconda 3 v24.11.X