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

后端 未结 3 1935
梦毁少年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 13:51

    I'm learning about PostgreSQL and had to install the windows version. It was suggested to use git+, and I was running to the same issues that John C was experiencing.

    Martijn above recommended unpacking and downloading. That is also what the creators of win-psycopg suggested. So I thought I'd share their method for installing into a Virtual Environment.

    Thank you stickpeople: http://www.stickpeople.com/projects/python/win-psycopg/

    To install into a virtual env:

    0 讨论(0)
  • 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
    
    0 讨论(0)
  • 2020-12-13 14:06

    for windows users:

    1) I first download and unpack the file.

    2) Then in the python directory going to \Scripts

    3) Starting here the command prompt

    4) pip install C:\Theano-master # theano-master is example library

    0 讨论(0)
提交回复
热议问题