如何在ubuntu-12.04中设置cairo的路径?
发布时间:2020-05-22 23:03:08 所属栏目:Ubuntu 来源:互联网
导读:我需要用 python3.2安装pycairo.但是在我的系统中安装pycairo时出错了, Downloading/unpacking git+http://anongit.freedesktop.org/git/pycairo (from -r requirements.txt (line 7)) Cloning http://anongit.freedesktop.org/git/pyc
|
我需要用 python3.2安装pycairo.但是在我的系统中安装pycairo时出错了, Downloading/unpacking git+http://anongit.freedesktop.org/git/pycairo (from -r requirements.txt (line 7))
Cloning http://anongit.freedesktop.org/git/pycairo to /tmp/pip-ud145u-build
Running setup.py egg_info for package from git+http://anongit.freedesktop.org/git/pycairo
cairo >= 1.10.2 Failed
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Complete output from command python setup.py egg_info:
cairo >= 1.10.2 Failed
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
首先安装libcairo2-dev:
sudo apt-get install libcairo2-dev (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 如何从Ubuntu连接到Windows SQL Server
- 使用amd老旧显卡的Ubuntu16.04运行Android虚拟机报错如下
- 在Ubuntu Linux GEOS / GDAL问题上安装功能齐全的PostGIS 2
- ubuntu下mysql版本升级到5.7
- ubuntu 下 ssldump 编译问题解决,及安装使用
- Ubuntu 15.04下安装fenghuangscanner报错及解决方法
- ubuntu – 尝试配置Xvfb无头地运行Firefox
- 无法使用桌面链接在Ubuntu 12中启动IntelliJ IDEA12
- Ubuntu、debian7命令行安装php5.6和xdebug
- Ubuntu Server如何配置SFTP
推荐文章
站长推荐
- 在Ubuntu 14.04 64bit上编译并研究State Threads
- ubuntu14.04 nginx报upstream timed out 问题原因
- Ubuntu14.04安装pycharm并配置pycharm运行Django
- ubuntu mysql开启远程访问
- ubuntu14.04安装QGIS
- Ubuntu、debian7命令行安装php5.6和xdebug
- ubuntu-16.04 – ROS安装错误(Ubuntu 16.04中的R
- 在 Ubuntu 14.04 Trusty 中 安装Adobe Reader
- Ubuntu Desktop 16.04下安装Visual Studio Code
- Ubuntu X加载失败可能的解决方法
热点阅读
