Help please - runtime numpy problem

12 views
Skip to first unread message

amal banerjee

unread,
Nov 21, 2023, 12:55:01 AM11/21/23
to aestimo-users
Could some Aestimo guru please help ? I am new to Aestimo, though I use Python a lot.
The following runtime error message occurs when I try to execute the the simplest silicon
np junction diode in examples sub-directory:


$ python aestimo.py -i /home/lamaeejrenab/aestimo-3.0.0/sample_pn.py
Traceback (most recent call last):
  File "/home/lamaeejrenab/aestimo-3.0.0/aestimo.py", line 64, in <module>
    alen = np.alen
           ^^^^^^^
  File "/usr/lib64/python3.11/site-packages/numpy/__init__.py", line 320, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'alen'

I am eagerly waiting for your feedback.

Sefer Bora Lisesivdin

unread,
Nov 21, 2023, 7:40:32 AM11/21/23
to amal banerjee, aestimo-users
Dear Amal,

We have fixed that issue with https://github.com/aestimosolver/aestimo/commit/5bbd8720a2d1e302049e35e5b223b9e8996da5e5 commit. There are many fixes after the PIP version of Aestimo. I am suggesting the latest development version on GitHub for daily use.

Just clone to your hard disk. Or download (or wget) from https://github.com/aestimosolver/aestimo/archive/refs/heads/master.zip, extract it, add PATH to your .bashrc, and directly use it.

Ggood luck.

Sefer Bora Lisesivdin
Professor of Physics, PhD, SMIEEE
Gazi University, Department of Physics, Ankara, TURKEY.

P Please consider the environment before printing this email


--
You received this message because you are subscribed to the Google Groups "aestimo-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aestimo-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/aestimo-users/52a5ac7f-c099-48d9-987e-495553435285n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages