presto icon indicating copy to clipboard operation
presto copied to clipboard

Import Error on single_pulse_search.py

Open karina-ks opened this issue 2 years ago • 1 comments

I ran into some trouble running single_pulse_search.py and here's what I'm getting back. What do you suggest?

Traceback (most recent call last):
  File "/opt/pulsar/presto/bin/single_pulse_search.py", line 8, in <module>
    from presto.presto import rfft, next2_to_n
ModuleNotFoundError: No module named 'presto.presto'

karina-ks avatar Jun 23 '22 17:06 karina-ks

Did you try step #3 in the Troubleshooting part of INSTALL.md? That suggests you run a simple pythong test source that tests the compiled python libraries. The error suggests that that either didn't get built or installed correctly.

scottransom avatar Jun 23 '22 21:06 scottransom