Pip install not functioning on windows 7 Cygwin install

后端 未结 3 472
不知归路
不知归路 2020-12-24 13:36

I\'m having a terrible time of getting pip up and running on Cygwin which I just recently installed on my Windows 7 Computer. I am writing in the hope that anyone out there

相关标签:
3条回答
  • 2020-12-24 14:13

    Came across the same problem. Installation of binutils cygwin package solved it for me.

    0 讨论(0)
  • 2020-12-24 14:14

    There's a bug(?) in 64-bit Cygwin which causes ctypes.util to segfault when trying to find libuuid (/usr/bin/cyguuid-1.dll). The fix is to install libuuid-devel from Cygwin setup. I found this from an issue filed against requests.py, but it's noted (and worked around in different ways) in a few other places, too.

    0 讨论(0)
  • 2020-12-24 14:26

    There is a work around for this problem: you can pipe the output to another process or to redirect it to file.

    For example:

    pip | more
    
    Usage:
      pip <command> [options]
    
    Commands:
      install                     Install packages.
      uninstall                   Uninstall packages.
      freeze                      Output installed packages in requirements format.
      list                        List installed packages.
      show                        Show information about installed packages.
      search                      Search PyPI for packages.
      wheel                       Build wheels from your requirements.
      help                        Show help for commands.
    

    This will allow seeing stdout, but not stderr. In order to see stderr it also should be redirected:

    pip 2>&1 | more
    
    0 讨论(0)
提交回复
热议问题