Installing Pip on Msys

后端 未结 3 1213
日久生厌
日久生厌 2021-02-13 17:46

I have built a simple PyGTK app using Python 3.5.2 and Msys but I need some modules not in the default installation, and although I could use setup.py install to ge

相关标签:
3条回答
  • 2021-02-13 17:58

    Please note that at this time the following command is now working on msys2:

    $ pacman -S python3-pip
    $ pip3 install --upgrade pip
    
    0 讨论(0)
  • 2021-02-13 18:01

    The accepted answer installs a new Python exectuable with pip, but without GTK support.

    In order to install pip support to the existing GTK Python executable, after encountering that error, we need to run:

    python -m pip install -U --force-reinstall pip
    

    (taken from this issue)

    To summarize the steps required to install Pip support to the GTK-Python executable:

    1. curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    2. python get-pip.py
    3. (ignore the error from previous step)
    4. python -m pip install -U --force-reinstall pip
    0 讨论(0)
  • 2021-02-13 18:20

    To install pip, securely download get-pip.py.

    Then run the following:

    python get-pip.py
    

    For more details refer: https://pip.pypa.io/en/stable/installing/

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