backports/lzma/_lzmamodule.c:115:18: fatal error: lzma.h: No such file or directory

前端 未结 4 2360
别跟我提以往
别跟我提以往 2021-02-18 20:44

I\'m trying to install docker-registry. I got stuck after this:

$ apt-get install python-pip python-dev
$ pip install -r requirements.txt
[...]
backports/lzma/_l         


        
4条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-18 21:09

    For OSX with Homebrew.

    brew install xz
    

    The formula is xz which because lzma formula is deprecated, since it became a part of xz.

提交回复
热议问题