Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FYI: install_requires in setup.py is missing packages #9

Open
paulmueller opened this issue Jun 8, 2016 · 3 comments
Open

FYI: install_requires in setup.py is missing packages #9

paulmueller opened this issue Jun 8, 2016 · 3 comments

Comments

@paulmueller
Copy link

I just installed version 0.2.1 from pypi and it wouldn't import, because some packages were not installed automatically.
These were pywcs, FITS_tools, and astropy. I see that astropy is already a dependency in master.

@keflavich
Copy link
Owner

Thanks @paulmueller. pywcs is not required, and is actually deprecated, but astropy is. FITS_tools is a soft requirement, and it is included in the REQUIREMENTS file, but apparently that isn't acknowledged by PIP. Ideally, I want to switch from using FITS_tools to reproject, but I haven't had time to make that switch yet, so I'll leave this issue open as a reminder to do so.

@jpdeleon
Copy link

jpdeleon commented Dec 8, 2016

Hi keflavich. I encountered the same error and doing a pip install pysetup fixed the issue. The next problem that showed up is as follows:


ImportError Traceback (most recent call last)
in ()
----> 1 import image_registration as imreg

c:\users\jerome\miniconda3\envs\py27\lib\site-packages\image_registration_init_.py in ()
----> 1 from cross_correlation_shifts import cross_correlation_shifts, cross_correlation_shifts_FITS
2 from chi2_shifts import chi2_shift,chi2n_map,chi2_shift_iterzoom
3 from register_images import register_images
4 import fft_tools
5 import tests

c:\users\jerome\miniconda3\envs\py27\lib\site-packages\image_registration\cross_correlation_shifts.py in ()
2 from AG_fft_tools import correlate2d,fast_ffts
3 except ImportError:
----> 4 from image_registration.fft_tools import correlate2d,fast_ffts
5 import warnings
6 import numpy as np

ImportError: cannot import name fast_ffts

Can you help me fix this issue?

@keflavich
Copy link
Owner

@jpdeleon There were some outdated imports. I just fixed them. Try the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants