ericmandel / pyds9

Python connection to SAOimage DS9 via XPA
76 stars 41 forks source link

9-1.7 installation error related to libxpa.dylib #8

Closed wadawson closed 10 years ago

wadawson commented 10 years ago

I get the following error when attempting to install version 9-1.7 downloaded from http://ds9.si.edu/download/pyds9/pyds9-1.7.tar.gz

error: can't copy 'xpa/libxpa.dylib': doesn't exist or not a regular file

This is seen after:

creating build creating build/lib copying pyds9.py -> build/lib copying xpa.py -> build/lib copying ds9.py -> build/lib running install_lib

ericmandel commented 10 years ago

Hi Will,

Something must have gone wrong with the xpa compile. Can you send me the full output from the python install command? And .... can I assume you have a C compiler, make, etc. installed on your system?

Regards,

Eric

On Oct 21, 2014, at 7:30 PM, Will Dawson notifications@github.com wrote:

I get the following error when attempting to install version 9-1.7 downloaded from http://ds9.si.edu/download/pyds9/pyds9-1.7.tar.gz

error: can't copy 'xpa/libxpa.dylib': doesn't exist or not a regular file

This is seen after:

creating build creating build/lib copying pyds9.py -> build/lib copying xpa.py -> build/lib copying ds9.py -> build/lib running install_lib

— Reply to this email directly or view it on GitHub.

wadawson commented 10 years ago

Eric,

Thanks for the suggestion to check the C compiler. It turns out that I had to agree to the Xcode license agreement again after upgrading to Yosemite. Simply trying to run gcc resulted in:

You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.

Once that was done the installation worked fine.

Thanks again, Will