- r - 以节省内存的方式增长 data.frame
- ruby-on-rails - ruby/ruby on rails 内存泄漏检测
- android - 无法解析导入android.support.v7.app
- UNIX 域套接字与共享内存(映射文件)
我正在尝试在 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/
我正在使用graphicsmagick对图像进行简单的操作,例如调整大小、裁剪等,并且我正在尝试通过python使用pgmagick。 为了调整大小,脚本会发出以下命令 gm convert imag
我正在尝试在 CentOS 上安装 pgmagick。 在我运行 pip install pgmagick 之后,我遇到了一些错误。在我检查日志文件后,这就是我得到的: Running setup
在 pgmagick 中,您可以像这样初始化图像: Image('my_image.png') 我将操作远程存储在 S3 上的文件,而不是将它们临时存储在磁盘上。有什么方法可以从 URL 打开图像文件
我尝试在 CentOS 5.6 上构建 pgmagick 时没有取得多大成功。 我已经通过 yum 安装了以下内容: boost-1.33.1 boost-devel-1.33.1 GraphicsM
问题 使用 Graphicsmagick 命令行或其用于 python 的 pgmagick 包装器进行填充的好方法是什么? 背景 到目前为止,这是我所拥有的,但它说签名不匹配:代码: from pg
尝试在 OS X Lion 上使用 XCode 4.3.1 构建 pgmagick 时,我并没有取得多大成功。 我已经使用以下命令(通过自制软件)安装了 ImageMagick 和 GraphicsM
我是一名优秀的程序员,十分优秀!