You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
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:
~/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:
Hi all. I'm having trouble importing pds9 because of some dependencies. The version I have tries to import
sixeven 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?