我试图使用python setup.py build在python 3.4上添加matplotlib-1.4.2.根据它在python 3.4上支持的文档.我收到以下错误消息:
IMPORTANT WARNING:
pkg-config is not installed.
matplotlib may not be able to find some of its dependencies
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
matplotlib: yes [1.4.2]
python: yes [3.4.0 (default, Nov 17 2014, 15:12:48) [GCC
4.1.2 20080704 (Red Hat 4.1.2-48)]]
platform: yes [linux]
REQUIRED DEPENDENCIES AND EXTENSIONS
numpy: yes [version 1.9.1]
six: yes [using six version 1.8.0]
dateutil: yes [using dateutil version 2.2]
pytz: yes [using pytz version 2014.9]
tornado: yes …Run Code Online (Sandbox Code Playgroud) 我正在尝试使用logrotate旋转日志文件。但是,我们不想以root身份进行操作。但是,如果我用其他工作帐户执行它,则由于无法编辑或创建文件/var/lib/logrotate.status而失败。有没有一种方法可以配置日志轮换以使用其他状态文件。