如何在ubuntu-12.04中设置cairo的路径?
发布时间:2020-10-19 20:14:40 所属栏目: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 (编辑:岳阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- ubuntu16.04修改网卡名称enp2s0为eth0
- ubuntu下读取 不同编码格式的文件 读取中文
- Ubuntu 搭建基于Docker的LNMP+Redis的开发环境(图文)
- ubuntu系统如何将firefox升级到最新版本
- 如何在Ubuntu的virtualenv中安装python-ldap?
- Ubuntu14.04 LTS 安装Doris、StaMPS、ROI_PAC
- Linux(Ubuntu)下Mysql5.6.28安装配置方法图文教程
- Ubuntu、debian7命令行安装php5.6和xdebug
- Ubuntu下安装MySQL及简单操作
- R – 如何为闪亮服务器设置install.packages()的路径? –