Help with Installing Python .whl in Github Actions

I am trying to make a build of my application using Github Actions, but I am having problems figuring out how I can properly install the wxPython dependency from the .whl file.

This is the error I get when running the workflow (when it gets to installing wxpython from the .whl):

Run python -m pip install ""

ERROR: wxPython-4.1.1-cp38-cp38-linux_x86_64.whl is not a supported wheel on this platform.

Error: Process completed with exit code 1.

It seems that this has to do with the architecture not being 64-bit. Is there a way to specify a certain architecture for Linux and Windows in Github Actions?

This is my build.yml in .github/workflows folder in my repo:

name: Build

# Controls when the action will run.
    tags: 'v*'


    runs-on: ubuntu-20.04
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v2
    - run: sudo apt-get install libsdl2-2.0-0
    - run: python -m pip install --upgrade pip setuptools wheel
    - run: python -m pip install pyinstaller
    - run: python -m pip install opencv-python
    - run: python -m pip install numpy
    - run: python -m pip install scipy
    - run: python -m pip install pillow
    - run: python -m pip install ""

    # Build with PyInstaller
    - name: Compile using pyinstaller
      run: |
        pyinstaller -n "GimelStudio" --hidden-import pkg_resources.py2_warn "src/"

    # Prepare the release
    - name: Prepare release
      uses: papeloto/action-zip@v1
        files: ./dist/GimelStudio/

    # Actually make the release
    - name: Uploading release
      uses: svenstaro/upload-release-action@v2
        repo_token: ${{ secrets.GITHUB_TOKEN }}
        file: ./
        tag: ${{ github.ref }}

So, I figured it out.

I had forgot that it will default to the latest version on Python which is currently 3.9.


    - uses: actions/setup-python@v2
        python-version: "3.8"

fixed my problem.