Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to find remote helper for 'https'

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:

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!

Unable to find remote helper for 'https'

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!