Quantus icon indicating copy to clipboard operation
Quantus copied to clipboard

numpy version requirements

Open sltzgs opened this issue 2 years ago • 1 comments

Description

  • when importing quantus, I got the following error: TypeError: 'numpy._DTypeMeta' object is not subscriptable'

Steps to reproduce the behavior

  • numpy version 1.21.5
  • import quantus

Minimum acceptance criteria

  • after updating numpy to 1.26.0 the error was gone
  • add the required numpy version to the docs

sltzgs avatar Sep 26 '23 09:09 sltzgs

Hi @sltzgs, could you please post a full stacktrace of the exception? It would also help if you could provide a code snippet, for which it occurred, and describe your environment. As for the environment, it could be useful for us to know all the packages you have installed (e.g., pip freeze > requirements_old.txt), your OS and python distributions.

aaarrti avatar Oct 03 '23 11:10 aaarrti