Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DrizzlePac: CalledProcessError (OSX Big Sur) #152

Open
Ragadeepika-Pucha opened this issue Nov 24, 2020 · 6 comments
Open

DrizzlePac: CalledProcessError (OSX Big Sur) #152

Ragadeepika-Pucha opened this issue Nov 24, 2020 · 6 comments
Labels
bug Something isn't working Drizzlepac

Comments

@Ragadeepika-Pucha
Copy link

I am getting the following error when I am trying to import astrodrizzle.

CalledProcessError: Command '('/usr/bin/otool', '-L', '/Users/raga.pucha/anaconda3/envs/astroconda/lib/python3.6/lib-dynload/_tkinter.cpython-36m-darwin.so')' returned non-zero exit status 1.

@pllim pllim added bug Something isn't working Drizzlepac labels Nov 24, 2020
@pllim
Copy link
Contributor

pllim commented Nov 24, 2020

@samanthalh ?

@samanthalh
Copy link
Contributor

Hello! Thanks for reporting this issue, @Ragadeepika-Pucha. I'm going to bring this to the attention of the DrizzlePac software folks (@stsci-hack and @mcara) but I would strongly urge you to create a helpdesk ticket. The ticket will go directly to DrizzlePac experts, and response times will be faster on that platform.

@Ragadeepika-Pucha
Copy link
Author

@samanthalh The error started after i updated the mac OS from catalina to Big Sur - but, after facing a few problems, I downgraded back to catalina. Now, drizzlepac is working fine again.

@mcara
Copy link
Member

mcara commented Dec 11, 2020

CC: @jhunkeler

@pllim pllim changed the title CalledProcessError DrizzlePac: CalledProcessError (OSX Big Sur) Dec 11, 2020
@jhunkeler
Copy link

jhunkeler commented Dec 13, 2020

https://github.com/spacetelescope/stsci.tools/blob/b770597a46f20bab170913dfd43fc51a5b58fd34/lib/stsci/tools/capable.py#L79

I don't have access to a machine running Big Sur but one or more of the following are true:

  • otool no longer lives in /usr/bin
  • tkinter library isn't there or the file is damaged
  • Xcode and "command line tools" are not installed and/or not configured

Without the actual error text it's hard to say.

@wenlong2
Copy link

wenlong2 commented Oct 25, 2021

I had the same issue and solved it by reinstalling Xcode.
In my case, Xcode was broken after I upgraded to Big Sur; it caused exactly this error. Removing old broken Xcode, downloading and installing a new copy solved this problem. It takes some time to install and start Xcode, though. After Xcode started, ipython started to work and drizzlepac was able to be imported.
Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Drizzlepac
Projects
None yet
Development

No branches or pull requests

6 participants