Open ThomasA opened 8 years ago
Hi Thomas,
I really just put this together as a proof of concept. I'd be happy to pass it to you if you'd like to take it over!
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Hi @ThomasA and @dfm, I've been adding to this project, including:
This is all on my master branch of a fork Thomas's fork of this project. I would like to share this work with the community (through pypi and readthedocs documentation) but it's unclear to me who owns this project. Can someone give me guidance?
I'll be happy to include it on my fork if you like, but it's up to @dfm what is going to happen to this repo here.
Oops! Yes. I'm happy to transfer ownership - sorry that I never responded before!
After running python setup.py install
on this repo (or on @marchdf's repo), if I import nufft
, I get the following error:
>>> import nufft
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "nufft/__init__.py", line 21, in <module>
from .nufft import nufft1d1freqs, nufft1d1, nufft1d2, nufft1d3, nufft2d1, nufft2d2, nufft2d3, nufft3d1, nufft3d2, nufft3d3
File "nufft/nufft.py", line 18, in <module>
from ._nufft import (
ImportError: No module named _nufft
Am I doing something stupid with Python?
I just tried and I am unable to replicate... Things seem to work fine for me (I tried python setup.py install
and pip install .
. Travis-CI builds are passing for 2.7 and 3.6 so I don't think it's a python version problem. Do you have a fortran compiler and can you see the fortran being compiled?
@marchdf thanks for checking, you're right, all is well—I, an ignoramus, opened Python while in the same directory as python-nufft
was cloned into, so Python was trying to import the local directories. When I'm in an application directory, Python imports nufft from site-packages
. Sorry and thanks for your hard work!
Great!
I have some questions I would like to ask about the code.