-
Notifications
You must be signed in to change notification settings - Fork 39
pyds9 not installing Mac #78
Comments
@montefra Any ideas? |
It means that the command Could have to do with the compiler in use. The second error happens because the xpa library is not correctly installed |
@montefra But what about all the previous warnings? "no files found matching" etc. Are these to be ignored? That's what I was confused about ... not understanding if those warning led to the error that comes after. @battersbot As @montefra described above, the critical error is this one:
It means that GNU configure could not create a test program using gcc. Can you please test gcc outside this build environment and make sure you can compile a program? |
Hi all, This is not an issue with gcc per se, but with which compiler you are using. I've had this exact problem many many times while installing stuff on my mac - I usually fix it by pointing the default compiler to another one. For example, to install pyds9 I did Hope this works for you, @battersbot |
Hi all. Sorry for the long delay -- I re-installed xcode and command line tools, including gcc and was able to successfully (as far as I can tell) install pyds9 (no errors and install output ended on: "Finished processing dependencies for pyds9==1.9.dev0"). However, when trying to load into python, I again get an XPA shared library error:
Any suggestions @ericmandel @montefra ? (Also @jvines - thank you so much for the suggestion, but it looks like I also didn't have clang working properly, so that solution did not work for me). |
@battersbot Something went wrong with the xpa compile ... can you please either post the full install log containing the compile? p.s. Francesco is no longer a maintainer, we now have Python expertise from @DougBurke |
Thanks for your help @ericmandel and sorry for the bother :( Here is the full install output, there are indeed some warnings, but I wasn't able to solve them:
|
Here's my output from a Mac without Anaconda installed. Import does work and I can load images etc. I have no idea what is going on with Anaconda, so I can only tap @DougBurke on the shoulder. running install Installed /Users/eric/tmp/lib/python3.7/site-packages/pyds9-1.9.dev220-py3.7-macosx-10.9-x86_64.egg Using /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages Using /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages |
@battersbot - stupid question, but are you in the
(I just did this and got your error, so just wanted to check). |
Not a stupid question at all @DougBurke. I was not in the
Any other ideas? Thanks so much for your help. |
@battersbot - if you try
what do you get? Also, could you try a) with the latest master branch (as I've updated to using a more-recent version of the astropy helpers) I don't think this will help, but will give me time to slide off to Vegas for a week..... |
For the first command, here is the output: a) The output indicates I'm already up to date - I must misunderstand. How should I update to the latest branch?
b) I am not using AstroPy 2, but I did an update just in case and tried again. Same error :( Have fun in Vegas! Thanks,Cara |
What does the following return?
|
It returns:
|
@battersbot - sorry, I thought you had tried to install a version from git. Although I'm a bit confused as your install log talks about version 1.9 - i.e. |
@DougBurke I originally tried
and when that failed, I tried:
recommended on the GitHub page: https://github.com/ericmandel/pyds9 |
So, in the directory you did the 'git clone' what does
return? |
Hi @DougBurke - I didn't actually do 'git clone' - I just downloaded and unpacked the zip file that was linked and did
If I type the command you suggest, here is what it returns:
Perhaps I just installed it incorrectly? Totally possible - I am not experienced in these things and might have made a simple / beginner's mistake... |
Ahh, if you didn't 'git clone' then the 'rev-parse' call wouldn't work. It looks like my recent changes haven't fixed your problem. Unfortunately I've run out of time to look at this any more until I get back. |
Hello, |
Sorry, I had to stop working on pyds9 for medical reasons, and haven't had the time to get back into it. |
I am trying to get pyds9 to work in my environment and am having some trouble.
I first tried:
pip install pyds9
which led to the following error:
I then downloaded the zip file from GitHub, went to the directory I downloaded it to, and tried:
python setup.py install
which led to this error when I tried to run it:
If I try to run a program that calls pyds9, here is the error that I get:
Can you offer some advice on how to get this properly set up? I have consulted the readme file and webpage extensively without any luck.
Thanks, Cara
The text was updated successfully, but these errors were encountered: