spacetelescope / notebooks

Content in this repository is not maintained and is actively being migrated to other repos.
https://spacetelescope.github.io/notebooks/
BSD 3-Clause "New" or "Revised" License
216 stars 164 forks source link

DrizzlePac: CalledProcessError (OSX Big Sur) #152

Open Ragadeepika-Pucha opened 3 years ago

Ragadeepika-Pucha commented 3 years ago

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 commented 3 years ago

@samanthalh ?

samanthalh commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

CC: @jhunkeler

jhunkeler commented 3 years ago

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:

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

wenlong2 commented 2 years ago

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.