信号量 CI:由于缺少依赖项,无法安装 scipy
Semaphore CI: Can't install scipy due to missing dependencies
这是我第一次使用 build system Semaphore,我在构建时遇到了安装 scipy 的问题。
具体来说就是抱怨BLAS和LAPACK没有安装。不像 these answers 建议的那样,我不能编译任何 fortran 文件,因为 Semaphore CI 没有在他们的机器上安装它们(我也不能安装它们,因为它们需要 root)。
在这种情况下 scipy 的正确安装方法是什么?
(如果有人建议将这个问题放在 stackexchange 上的什么位置,那也将不胜感激。我不确定这个问题是否属于这里。)
似乎 travis-ci 有类似的问题。除了他们通过预安装 scipy.
解决了这个问题
Semaphore CI 在构建环境中为您提供无密码 sudo,因此您可以在构建设置中使用 official documentation 中建议的命令,例如:
sudo apt-get update
sudo apt-get install python python-dev libatlas-base-dev gcc gfortran g++
sudo pip install scipy
这是我第一次使用 build system Semaphore,我在构建时遇到了安装 scipy 的问题。
具体来说就是抱怨BLAS和LAPACK没有安装。不像 these answers 建议的那样,我不能编译任何 fortran 文件,因为 Semaphore CI 没有在他们的机器上安装它们(我也不能安装它们,因为它们需要 root)。
在这种情况下 scipy 的正确安装方法是什么?
(如果有人建议将这个问题放在 stackexchange 上的什么位置,那也将不胜感激。我不确定这个问题是否属于这里。)
似乎 travis-ci 有类似的问题。除了他们通过预安装 scipy.
解决了这个问题Semaphore CI 在构建环境中为您提供无密码 sudo,因此您可以在构建设置中使用 official documentation 中建议的命令,例如:
sudo apt-get update
sudo apt-get install python python-dev libatlas-base-dev gcc gfortran g++
sudo pip install scipy