Skip to content

np.cast was removed in the NumPy 2.0 release #346

@hexagonrecursion

Description

@hexagonrecursion

Please include the log file

error.log

Please include a savegame that can reproduce the issue

Not necessary: happens every time in a freshly started game

To Reproduce

  1. Click "new game"
  2. Click "impossible"
  3. Click "skip"
  4. Click on Australia
  5. Click "new base"
  6. Crash

Additional context

https://numpy.org/doc/stable/numpy_2_0_migration_guide.html

removed member migration guideline
cast Use np.asarray(arr, dtype=dtype) instead.

Workaround: install an older version of numpy

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions