Error when installing tensorflow

I’m trying to create a workflow to do CI on a Machine Learning repo in Python, but every time it runs it either is unable to find TensorFlow on PyPi (on Python 2.7) or it simply displays:[error]The operation was canceled.

without explaining the source of error (on Python 3.5). I’ve listed the log below and my .yml configuration file as well.

I understand that Github would like to avoid people using Github Actions to run machine learning trainings on their servers, my second question would be, is TensorFlow somehow blacklisted for that reason?

Log:


Downloading [https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl](https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1-py2.py3-none-any.whl) (87kB)

Collecting setuptools\>=41.0.0 (from tensorboard\<1.15.0,\>=1.14.0-\>tensorflow)

Downloading [https://files.pythonhosted.org/packages/b2/86/095d2f7829badc207c893dd4ac767e871f6cd547145df797ea26baea4e2e/setuptools-41.2.0-py2.py3-none-any.whl](https://files.pythonhosted.org/packages/b2/86/095d2f7829badc207c893dd4ac767e871f6cd547145df797ea26baea4e2e/setuptools-41.2.0-py2.py3-none-any.whl) (576kB)

Installing collected packages: numpy, six, h5py, keras-applications, tensorflow-estimator, absl-py, astor, wheel, werkzeug, setuptools, markdown, protobuf, grpcio, tensorboard, termcolor, google-pasta, wrapt, gast, keras-preprocessing, tensorflow

Running setup.py install for absl-py: started

Running setup.py install for absl-py: finished with status 'done'

Found existing installation: setuptools 28.8.0

Uninstalling setuptools-28.8.0:

Successfully uninstalled setuptools-28.8.0

Running setup.py install for termcolor: started

Running setup.py install for termcolor: finished with status 'done'

Running setup.py install for wrapt: started

**##[error]The operation was canceled.**

test.yml:

name: Test ml_repo
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 2
      matrix:
        python-version: [2.7, 3.5]
    steps:
    - uses: actions/checkout@master
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install tensorflow