我正在尝试在Travis-CI工作人员上安装libpython-dev
但没有成功。我正在使用基于容器的工人。 .travis.yml
文件的相关部分如下:
sudo: false
language: cpp
addons:
apt:
packages:
# Compilers
- g++
- gfortran
- cmake
# Libraries for static linking
- binutils-gold
- libc6-dev
- libpthread-stubs0-dev
# Math libraries
- libblas-dev
- liblapack-dev
- libatlas-base-dev
# MPI
- openmpi-bin
- libopenmpi-dev
# Python library, development version
- libpython-dev
我收到以下错误:E: Unable to locate package libpython-dev
即使包裹在ubuntu-precise whitelist