spacetelescope / imexam

imexam is a python tool for simple image examination, and plotting, with similar functionality to IRAF's imexamine
http://imexam.readthedocs.io
BSD 3-Clause "New" or "Revised" License
74 stars 45 forks source link

Installation bugs? #178

Closed MADECICCO closed 5 years ago

MADECICCO commented 5 years ago

Hi everyone!

I installed imexam using pip install method: " sudo - H pip3 install imexam", it was ok.

But certain classe/fucntion did not load as :

-list_active_ds9() -ds9('...') -display_help()

error: " module 'imexam' has no attribute..... "

AND worst: when calling -> "window=imexam.connect('ds9')'" ( or many others analogs steps, as explained in the imexam webpage docs, no single one worked out), the following error happened ..:

**"

NotImplementedError Traceback (most recent call last)

in 1 ----> 2 window=imexam.connect('ds9') /usr/local/lib/python3.6/dist-packages/imexam-0.8.2.dev375-py3.6-linux-x86_64.egg/imexam/connect.py in __init__(self, target, path, viewer, wait_time, quit_window, port) 84 warnings.warn("**Unsupported viewer, check your installed " 85 "packages**\n") ---> 86 raise NotImplementedError 87 88 # init sets empty data array until we can load or check viewer NotImplementedError:** " I tried GINGA, but the same issue/error Well, after many tries, I decide to uninstall it, and using the installation instructions I decide to try : "git clone --recursive...etc ", and then "sudo -H python3 setup.py install" . All good, no error. But after importing imexam module (unitl this point all fine) the same before bugs appeared ! - I tryed, also change to "inet", "local" , and as well I tried all examples explained on the issues, waiting time, XAP_method,... nothing works :( Is it supposed to work inside an env astroconda ? I am using: Ubuntu 18.4, Jupyter notebook, and pyhon 3.6, ds9 last version, ginga last version