Unable to find remote helper for 'https'

asked 2017-03-14 04:52:50 -0500

stan gravatar image

updated 2017-03-14 04:53:34 -0500

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

%%sh
sage -sh
pip install --upgrade gitpython
GIT_PYTHON_GIT_EXECUTABLE='/usr/bin/git'

Then:

import git 
git_url = 'https://github.com/schymans/summa.git'
repo_dir = 'summa_code'
try:
    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