Skip to content

Trouble installing numpy and scipy from requirements #1

@PeterSR

Description

@PeterSR

Trying to install numpy and scipy to use in Python unit test.

Using the following action .github/workflows/python-test.yml:

name: Test
on:
  push:
    branches: '*'
jobs:
  test:
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 1
      - name: Install package
        run: |
          sudo apt-get -y install gcc gfortran python-dev libopenblas-dev liblapack-dev cython
      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: '3.8'
      - name: Test
        uses: onichandame/[email protected]

requirements.txt:

numpy~=1.20.1
scipy~=1.6.1

It fails with the following output:
output.txt

The Ubuntu packages installed are based on https://docs.scipy.org/doc/scipy/reference/building/linux.html#debian-ubuntu, but I have also tried a bunch of other packages.

I suspect that packages installed earlier are not visible for this action when it is running.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedblocked by factors not controlled under this repo

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions