notebooks
notebooks copied to clipboard
DrizzlePac: CalledProcessError (OSX Big Sur)
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.
@samanthalh ?
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.
@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.
CC: @jhunkeler
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.
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.