gpt4 book ai didi

linux - 在 Linux 上安装 pgmagick

转载 作者:IT王子 更新时间:2023-10-29 00:08:10 26 4
gpt4 key购买 nike

我正在尝试在 CentOS 上安装 pgmagick。

在我运行 pip install pgmagick 之后,我遇到了一些错误。在我检查日志文件后,这就是我得到的:

  Running setup.py egg_info for package pgmagick
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/root/build/pgmagick/setup.py", line 74, in <module>
raise Exception("Magick++ not found")
Exception: Magick++ not found
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/root/build/pgmagick/setup.py", line 74, in <module>
raise Exception("Magick++ not found")
Exception: Magick++ not found
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /root/build/pgmagick
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 245, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.6/site-packages/pip/req.py", line 1009, in prepare_files
req_to_install.run_egg_info()
File "/usr/lib/python2.6/site-packages/pip/req.py", line 225, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/lib/python2.6/site-packages/pip/__init__.py", line 256, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /root/build/pgmagick

我错过了什么吗?如何让它发挥作用?

最佳答案

我自己刚吃过这个。对于 future 通过 Google 访问的任何人,您首先需要两个额外的包裹:

sudo apt-get install libgraphicsmagick++1-dev libboost-python-dev

关于linux - 在 Linux 上安装 pgmagick,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11140131/

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