scottransom / presto

Open source pulsar search and analysis toolkit
http://www.cv.nrao.edu/~sransom/presto/
GNU General Public License v2.0
238 stars 174 forks source link

Import Error on single_pulse_search.py #168

Open karina-ks opened 2 years ago

karina-ks commented 2 years ago

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'
scottransom commented 2 years ago

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.