Ask Your Question

Unable to find remote helper for 'https'

asked 2017-03-14 10:52:50 +0200

stan gravatar image

updated 2017-03-14 10:53:34 +0200

I am trying to work with github in the jupyter notebook in sage 7.3 on a debian linux machine and did:

sage -sh
pip install --upgrade gitpython


import git 
git_url = ''
repo_dir = 'summa_code'
    repo = git.Repo.clone_from(git_url, repo_dir)
except Exception, e:
    print e

However, whenever I use any git_url with https, I get the error message fatal: Unable to find remote helper for 'https' On my system-wide python, this works without problems. Did anyone experience similar problems before? Thanks for your help already!

edit retag flag offensive close merge delete


  • did you install Sage from the binaries, and which ones ?
    • did you compile Sage yourself ?

What happens if you do not define the GIT_PYTHON_GIT_EXECUTABLE variable (which points to the system's git, and not the Sage one) ?

tmonteil gravatar imagetmonteil ( 2017-04-26 11:03:24 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-25 21:33:30 +0200

dan_fulea gravatar image

Goo' searches with strings like

"Unable to find remote helper for 'https'" git Repo clone
"fatal: Unable to find remote helper for 'https'" git clone_from python

collect some reasons for the error, and give some hints, that may solve the problem. (I do not use git. Yet...)

It seems that a curl dependency is very often the reason. (Some people have even purged and reinstalled...) E.g.

(You did the search certainly repeatedly, but...)

I also had some issue with the fact that sage -sh is hiding some environment variables. Or i am setting them elsewhere. In such cases...

(sage-sh) me@home: $ printenv | grep "^GIT"


sage: for env in os.environ:
....:     if env.startswith( 'GIT' ):
....:         print env, "=", os.environ[ env ]

may check them.

Good luck!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-03-14 10:52:50 +0200

Seen: 1,045 times

Last updated: Apr 25 '17