lbolla / EMpy

Electromagnetic Python
MIT License
194 stars 83 forks source link

EMpy import error #46

Closed langrock closed 11 months ago

langrock commented 11 months ago

I've been using EMpy every now and then, but am now running into an import error and am wondering if there've been changes to the numpy.testing library that conflict with EMpy. Please see the error below. Does anyone know what might be going on?

ImportError: cannot import name 'Tester' from 'numpy.testing' (C:\Users\username\AppData\Local\miniforge3\lib\site-packages\numpy\testing__init__.py)

Thanks, Carsten

lbolla commented 11 months ago

What version of numpy are you using? numpy is pinned at 1.23 in requirements.txt

Tester seems to have been removed in 1.25: https://numpy.org/doc/stable/reference/routines.testing.html

lbolla commented 11 months ago

I've pushed a fix on master. Let me know if it works for you.