在conda环境中安装pip软件包时出错

时间:2020-01-01 03:42:56

标签: python pip conda

我一直试图在anaconda3环境中安装一些python软件包。但是我收到这样的错误:

 checking for lzma.h... yes
    checking for lzma_easy_buffer_encode in -llzma... no
    configure: error: liblzma development files not found

    The CRAM format may use LZMA2 compression, which is implemented in HTSlib
    by using compression routines from liblzma <http://tukaani.org/xz/>.

    Building HTSlib requires liblzma development files to be installed on the
    build machine; you may need to ensure a package such as liblzma-dev (on Debian
    or Ubuntu Linux), xz-devel (on RPM-based Linux distributions or Cygwin), or
    xz (via Homebrew on macOS) is installed; or build XZ Utils from source.

    Either configure with --disable-lzma (which will make some CRAM files
    produced elsewhere unreadable) or resolve this error to build HTSlib.

在conda环境之外不会发生此错误。有人可以帮忙吗!谢谢!

0 个答案:

没有答案