Skip to content

AttributeError: module 'numpy' has no attribute 'asscalar' #71

Description

@CorentinLouis

I encountered the following error

AttributeError: module 'numpy' has no attribute 'asscalar'

while trying to do:

from nenupy.instru.interferometer import ObservingMode

Apparently, the attribute asscalar is deprecated since NumPy v1.16 and Numpy v1.23 totally removed it.

So it should be it should be specify in the requirement that numpy needs to be in version <1.23.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions