我必须在我的ubuntu机器上安装pygit2库。当我尝试“pip install pygit2”时,出现以下错误。在
在cffi.ffiplatform.VerificationError:CompileError:命令“x86_64-linux-gnu-gcc”失败,退出状态为1
正在清理。。。 命令python设置.pyegg_info失败,/tmp/pip_build_root/pygit2中的错误代码为1 将失败的调试日志存储在/root/.pip中/圆木在
在此之前,我做了下面的工作,一切顺利(http://www.pygit2.org/install.html#quick-install)。在
$ wget https://github.com/libgit2/libgit2/archive/v0.22.0.tar.gz
$ tar xzf v0.22.0.tar.gz
$ cd libgit2-0.22.0/
$ cmake .
$ make
$ sudo make install
我的机器上已经有libffi6了。在
^{pr2}$
看起来您需要安装libffi和its的开发包,pygit2依赖于它们
相关问题 更多 >
编程相关推荐