Closed stevenxcao closed 6 years ago
If you want to run code within the python-nufft directory then you need to run
python setup.py build_ext --inplace
If you're going to use it in other directories, install
works. This is true for all Python modules with compiled extensions :-)
I have Ubuntu 18.04 with gfortran, and I'm using conda python 3.6.5. I ran the following to install:
However, I got the following error when trying to import:
Solution:
I replaced .../python-nufft/nufft/ with .../python-nufft/build/lib.linux-x86_64-3.6/nufft/ and now everything works.