Skip to content

ImportError in wcs/setup_package.py #38

Closed

Description

@jiffyclub

I am getting this error trying to build astropy:

astropy 32 >:python setup.py develop
Freezing version number to astropy/version.py
Traceback (most recent call last):
  File "setup.py", line 55, in <module>
    extensions.extend(package.get_extensions())
  File "/Users/jiffyclub/astropy/astropy/wcs/setup_package.py", line 169, in get_extensions
    from astropy.version import debug
ImportError: cannot import name debug

Activity

  1. jiffyclub commented on Oct 28, 2011

    @jiffyclub
    ContributorAuthor

    Got it to work after cleaning .pyc files out of the directory tree.

  2. mdboom commented on Oct 28, 2011

    @mdboom
    Contributor

    I've run into this before with the same solution. I don't know if @igaunanaut has any ideas about preventing this kind of thing down the road -- but I suspect this kind of thing may die down as the setup.py infrastructure settles down.

  3. added a commit that references this issue on Nov 11, 2013
  4. added a commit that references this issue on Jan 23, 2015
  5. added a commit that references this issue on Apr 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions