Cannot run the Python example
Hello,
Thank you for the great code. I have installed on my LinuxMint 13 box, using the gcc compiler, via:
./configure --enable-python && make && make install
The C example works great. However, when I run:
python SHT_example.py
I receive the following error:
Traceback (most recent call last): File "SHT_example.py", line 23, in <module> import shtns # shtns module File "/home/ken/Downloads/shtns-2.3-r408/shtns.py", line 30, in <module> _shtns = swig_import_helper() File "/home/ken/Downloads/shtns-2.3-r408/shtns.py", line 22, in >swig_import_helper import _shtns ImportError: /usr/local/lib/python2.7/dist-packages/_shtns.so: undefined >symbol: omp_get_thread_num
Any help would be greatly appreciated. Thanks, Ken
Comments (3)
-
repo owner -
Account Deleted That worked like a charm. Thank you! Ken
-
repo owner - changed status to resolved
- Log in to comment
Hello, could you try with: ./configure --enable-python --disable-openmp