Frequently asked questions

“ImportError: dynamic module does not define init function”

Most likely, OS Python version does not match to the PyStim library Python version. Install the correct version of PyStim library or update the Python version on the system.

“Symbol not found: __Py_ZeroStruct / _PyInstanceMethod_Type

See the first answer.

“SystemError: dynamic module not initialized properly”

See the first answer.

The Python interpreter immediately crashes when importing my module

See the first answer.

How to cite this project?

We suggest the following BibTeX template to cite PyStim in scientific discourse:

@misc{PyStim,
   author = {DiscreteWave},
   year = {2024},
   note = {https://github.com/PyStim/PyStim},
   title = {PyStim -- Seamless operability between SystemVerilog and Python}
}