Skip to content

autograd fail when setup #14

@gamdwk

Description

@gamdwk

when I push my answer, It will raise error:

📝 Setup
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
  Collecting flake[8](https://github.com/minitorch/minitorch-module-1-gamdwk/actions/runs/7295821833/job/19882743013#step:3:9)==5.0.4
    Downloading flake8-5.0.4-py2.py3-none-any.whl (61 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.[9](https://github.com/minitorch/minitorch-module-1-gamdwk/actions/runs/7295821833/job/19882743013#step:3:10)/61.9 KB 3.4 MB/s eta 0:00:00
  Collecting pyflakes<2.6.0,>=2.5.0
    Downloading pyflakes-2.5.0-py2.py3-none-any.whl (66 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.1/66.1 KB 8.0 MB/s eta 0:00:00
  Collecting pycodestyle<2.[10](https://github.com/minitorch/minitorch-module-1-gamdwk/actions/runs/7295821833/job/19882743013#step:3:11).0,>=2.9.0
    Downloading pycodestyle-2.9.1-py2.py3-none-any.whl (41 kB)
       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.5/41.5 KB 11.0 MB/s eta 0:00:00
  Collecting mccabe<0.8.0,>=0.7.0
    Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
  Installing collected packages: pyflakes, pycodestyle, mccabe, flake8
  Successfully installed flake8-5.0.4 mccabe-0.7.0 pycodestyle-2.9.1 pyflakes-2.5.0
  WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
  
  /usr/local/lib/python3.10/dist-packages/numpy/__init__.pyi:642: error: Positional-only parameters are only supported in Python 3.8 and greater
  Found 1 error in 1 file (errors prevented further checking)

I have never had such a problem on my local computer.
Why does Python 3.10 not support the 3.8 feature? How should I locate this error?
By the way, the isort for pre-commit should update to version 5.12.0, otherwise, an error will occur during submission. Please make the necessary changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions