Skip to content

Raise minimum numpy version to 1.23.5 to fix installation errors on windows#6082

Merged
alex-mccarthy-unity merged 1 commit into
developfrom
re-fix-numpy-version
Mar 14, 2024
Merged

Raise minimum numpy version to 1.23.5 to fix installation errors on windows#6082
alex-mccarthy-unity merged 1 commit into
developfrom
re-fix-numpy-version

Conversation

@alex-mccarthy-unity

@alex-mccarthy-unity alex-mccarthy-unity commented Mar 13, 2024

Copy link
Copy Markdown
Contributor

Proposed change(s)

Fixes the following errors when installing ml-agents-envs on windows if numpy 1.21.2 is already installed:

  Building wheel for numpy (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for numpy (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [326 lines of output]
      setup.py:63: RuntimeWarning: NumPy 1.21.2 may not yet support Python 3.10.
        warnings.warn(
      Running from numpy source directory.

Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)

Fixes #6047

Types of change(s)

  • Bug fix
  • New feature
  • Code refactor
  • Breaking change
  • Documentation update
  • Other (please describe) dependency upgrade

Checklist

  • Added tests that prove my fix is effective or that my feature works
  • Updated the changelog (if applicable)
  • Updated the documentation (if applicable)
  • Updated the migration guide (if applicable)

Other comments

…indows

Fixes #6047

Fixes the following errors when installing ml-agents-envs on windows if numpy 1.21.2 is already installed:
```
  Building wheel for numpy (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for numpy (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [326 lines of output]
      setup.py:63: RuntimeWarning: NumPy 1.21.2 may not yet support Python 3.10.
        warnings.warn(
      Running from numpy source directory.
```
@alex-mccarthy-unity alex-mccarthy-unity changed the title Raise minimum numpy version to 1.23.5 to fix installation errors on w… Raise minimum numpy version to 1.23.5 to fix installation errors on windows Mar 13, 2024

@miguelalonsojr miguelalonsojr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

release-21-branch numpy can't install successful.

2 participants