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?


Downloading []( (87kB)

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

Downloading []( (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 install for absl-py: started

Running 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 install for termcolor: started

Running install for termcolor: finished with status 'done'

Running install for wrapt: started

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


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