Closed murison closed 7 years ago
Same error for pyds9 version 1.9.dev0 with python 3.5.2 (Anaconda) on CentOS release 6.8 (Final) and on MacOSX 10.11.6.
No problems with v1.8.1.
Thank for the report. I don't usually use anaconda and I haven't seen this issue last time I tried to install pyds9 master into a python 2.7 or 3.5 virtual environment.
I'll try to figure out what is going on here in the next few days.
In the meanwhile I suggest to use v1.8.1: it has the same functionalities but a different installation procedure and directory structure.
If you know how to use virtual environments, can you give a try to install in a clean one?
"If you know how to use virtual environments, can you give a try to install in a clean one?"
Huh, that worked:
conda create -n test python=3 numpy astropy source activate test python setup.py install [...] Using /scr/bin/anaconda3/envs/test/lib/python3.5/site-packages Finished processing dependencies for pyds9==1.9.dev0
@murison : I started a project with the three issues on this: https://github.com/ericmandel/pyds9/projects/1
I've tested virtual and conda environment with and without cython and the problem seems to be cython.
I'll try to udpate astropy_helpers in use and if, it doesn't work, the astropy people.
Can you please tell me the version of Cython that makes the installation fail?
Mine is Cython version 0.24.1
Mine is 0.23.4
On my system PR #48 solves the problem. I'll merge the PR soon. However I want to setup Travis CI first at least to test installation.
If you want to test the installation, you can do it with:
pip install git+https://github.com/montefra/pyds9.git@install_cython#eggs=pyds9
@montefra that worked for me! Thank you!
Is that an official fix that I can pass on to colleagues, or should I hold off on that for a bit?
@murison : thank you for testing and reporting. I hope that this will soon land in the trunk.
I just downloaded the latest greatest and unzipped it. I've never seen this before, Google is no help, and I'm stumped (anaconda python 3.5.2, Ubuntu 15.10) (exact same error if I instead go the 'pip install' route):
Traceback (most recent call last): File "/home/murison/download/pyds9-master/.eggs/astropy_helpers-1.2-py3.5.egg/astropy_helpers/setup_helpers.py", line 285, in run_command_hooks hook_obj(cmd_obj) File "pyds9/setup_package.py", line 87, in pre_build_ext_hook libxpa = cmd.ext_map['pyds9.libxpa'] File "/scr/bin/anaconda3/lib/python3.5/site-packages/Cython/Distutils/build_ext.py", line 135, in getattr return _build_ext.build_ext.getattr(self, name) File "/scr/bin/anaconda3/lib/python3.5/distutils/cmd.py", line 103, in getattr raise AttributeError(attr) AttributeError: ext_map