Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Problems importing package because six is missing. #93

Description

@rjavila

Hi all. I'm having trouble importing pds9 because of some dependencies. The version I have tries to import six even though I see that you have removed that from the latest version of the code. Here's the traceback:

`In [1]: import pyds9

ImportError Traceback (most recent call last)
in
----> 1 import pyds9

~/miniconda3/envs/scienv37/lib/python3.7/site-packages/pyds9/init.py in
18 # For egg_info test builds to pass, put package imports here.
19 if not ASTROPY_SETUP:
---> 20 from .pyds9 import *

~/miniconda3/envs/scienv37/lib/python3.7/site-packages/pyds9/pyds9.py in
27 from . import xpa
28
---> 29 from astropy.extern import six
30 from astropy.extern.six import BytesIO
31 from astropy.io import fits

ImportError: cannot import name 'six' from 'astropy.extern' (/Users//miniconda3/envs/scienv37/lib/python3.7/site-packages/astropy/extern/init.py)`

I'm now unsure if I have the latest version or not. I installed using astroconda.

`conda list pyds9

packages in environment at /Users/roberto/miniconda3/envs/scienv37:

Name Version Build Channel

pyds9 1.9.0.dev145+gc1bf67a py37_2 http://ssb.stsci.edu/astroconda`

Can anyone help me figure this out?

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions