Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created July 25, 2012 11:48
Show Gist options
  • Select an option

  • Save cdeil/3175720 to your computer and use it in GitHub Desktop.

Select an option

Save cdeil/3175720 to your computer and use it in GitHub Desktop.
aplpy astropy pywcs issue
(astro_python)lfs1> python runtests.py
================================================================== test session starts ===================================================================
platform linux2 -- Python 2.6.6 -- pytest-2.2.0
collected 0 items / 13 errors
========================================================================= ERRORS =========================================================================
_______________________________________________________ ERROR collecting tests/test_axis_labels.py _______________________________________________________
tests/test_axis_labels.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:23: in <module>
> import pywcs
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:33: in <module>
> from astropy.wcs import *
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/astropy/__init__.py:104: in <module>
> from logger import log
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/astropy/logger.py:15: in <module>
> from .utils.console import color_print
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/astropy/utils/console.py:14: in <module>
> from IPython.zmq.iostream import OutStream
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/IPython/__init__.py:43: in <module>
> from .config.loader import Config
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/IPython/config/loader.py:27: in <module>
> from IPython.utils.path import filefind, get_ipython_dir
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/IPython/utils/path.py:24: in <module>
> from IPython.utils.process import system
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/IPython/utils/process.py:27: in <module>
> from ._process_posix import _find_cmd, system, getoutput, arg_split
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/IPython/utils/_process_posix.py:27: in <module>
> from IPython.utils import text
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/IPython/utils/text.py:30: in <module>
> from IPython.utils.io import nlprint
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/IPython/utils/io.py:90: in <module>
> stdin = IOStream(sys.stdin)
../../bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/IPython/utils/io.py:32: in __init__
> raise ValueError("fallback required, but not specified")
E ValueError: fallback required, but not specified
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
__________________________________________________________ ERROR collecting tests/test_beam.py ___________________________________________________________
tests/test_beam.py:6: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
________________________________________________________ ERROR collecting tests/test_colorbar.py _________________________________________________________
tests/test_colorbar.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
_________________________________________________________ ERROR collecting tests/test_contour.py _________________________________________________________
tests/test_contour.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
_______________________________________________________ ERROR collecting tests/test_downsample.py ________________________________________________________
tests/test_downsample.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
__________________________________________________________ ERROR collecting tests/test_frame.py __________________________________________________________
tests/test_frame.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
__________________________________________________________ ERROR collecting tests/test_grid.py ___________________________________________________________
tests/test_grid.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
________________________________________________________ ERROR collecting tests/test_init_cube.py ________________________________________________________
tests/test_init_cube.py:6: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
_______________________________________________________ ERROR collecting tests/test_init_image.py ________________________________________________________
tests/test_init_image.py:6: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
__________________________________________________________ ERROR collecting tests/test_save.py ___________________________________________________________
tests/test_save.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
________________________________________________________ ERROR collecting tests/test_scalebar.py _________________________________________________________
tests/test_scalebar.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
_______________________________________________________ ERROR collecting tests/test_tick_labels.py _______________________________________________________
tests/test_tick_labels.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
__________________________________________________________ ERROR collecting tests/test_ticks.py __________________________________________________________
tests/test_ticks.py:7: in <module>
> from aplpy import FITSFigure
aplpy/__init__.py:1: in <module>
> from .aplpy import FITSFigure
aplpy/aplpy.py:25: in <module>
> raise Exception("pywcs is required for APLpy")
E Exception: pywcs is required for APLpy
-------------------------------------------------------------------- Captured stderr ---------------------------------------------------------------------
This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
/lfs/l1/hess/users/deil/bin/HESSSurveyBin/astro_python/lib/python2.6/site-packages/astropy-0.2.dev1517-py2.6-linux-x86_64.egg/pywcs/__init__.py:30: DeprecationWarning: pywcs is deprecated. Use astropy.wcs instead.
DeprecationWarning)
================================================================ 13 error in 6.14 seconds ================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment