PySpice icon indicating copy to clipboard operation
PySpice copied to clipboard

errors when executing examples »low-pass-rc-filter.py« or »low-pass-rc-filter.ipynb«

Open ShantySuffisance opened this issue 3 years ago • 0 comments

Environment

OS: Linux 4.19.184-antix.1-amd64-smp (antiX 21, based on debian), Python 3.8.12, PySpice 1.5, NgSpice 30

Expected Behaviour

I'd expecte no errors when running the examples »low-pass-rc-filter.py« or »low-pass-rc-filter.ipynb« from https://pyspice.fabrice-salvaire.fr/releases/latest/examples/filter/low-pass-rc-filter.html

Actual Behaviour

when running »low-pass-rc-filter.py« in Spyder IDE 5.1.5: CDefError: <cdef source string>:7: duplicate declaration of struct ngcomplex when running »low-pass-rc-filter.py« in Terminal with Python 3.8.12: NgSpiceCommandError: Command 'version -f' failed when running »low-pass-rc-filter.ipynb« in Jupyter Notebook 6.4.6: NgSpiceCommandError: Command 'version -f' failed

Steps to reproduce the behaviour

Thank you for this program!

ShantySuffisance avatar Dec 22 '21 18:12 ShantySuffisance