How to use Python Pip install software, to pull packages from Github?

后端 未结 3 1934
梦毁少年i
梦毁少年i 2020-12-13 13:50

I\'m trying to install a package from Github, using Pip, using the following syntax

pip install -e git+https://github.com/facebook/python-sdk.git#egg=Faceboo         


        
3条回答
  •  醉梦人生
    2020-12-13 14:04

    If I'm not mistaken, you would need the git client to be install on your machine. In the event that you don't have git installed, try this:

    pip install https://github.com/facebook/python-sdk/zipball/master
    

    or

    pip install https://github.com/facebook/python-sdk/tarball/master
    

    You need to install the git-core, since the git:// protocol isn't associated with anything.

    sudo apt-get install git-core
    

提交回复
热议问题