gpt4 book ai didi

php - GraphViz 安装失败

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:28:11 25 4
gpt4 key购买 nike

我正在尝试在 ubuntu 服务器上安装 graphviz 但出现以下错误..

sudo pear install Image_GraphViz

downloading Image_GraphViz-1.3.0.tgz ...

Starting to download Image_GraphViz-1.3.0.tgz (16,706 bytes) ......done: 16,706 bytes

could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/Image_GraphViz-1.3.0.tgz"

Download of "pear/Image_GraphViz" succeeded, but it is not a valid package archive

Error: cannot download "pear/Image_GraphViz"

Download failed

install failed

有什么建议吗?下面的一些信息以防万一...


PEAR Version: 1.9.4PHP Version: 5.5.9-1ubuntu4.9Zend Engine Version: 2.5.0Running on: Linux xServer 3.16.0-34-generic #47~14.04.1-Ubuntu SMP Fri Apr 10 17:49:51 UTC 2015 i686

最佳答案

这可能是 http://cweiske.de/tagebuch/pear-php-5.5.htm 中描述的问题

尝试用以下方法修复它:

$ pear upgrade -Z Archive_Tar
$ pear install image_graphviz

如果这不起作用,请按照博文中的说明进行操作。

关于php - GraphViz 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31280685/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com