You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to install costools from source, I got this error:
Running calcos-3.0/setup.py -q bdist_egg --dist-dir /var/folders/jp/y94kfdg15xjgpplw8yrqt3jc0000gn/T/easy_install-3xpdprnf/calcos-3.0/egg-dist-tmp-fkcknzz_
error: Setup script exited with error: each element of 'ext_modules' option must be an Extension instance or 2-tuple
I am using Anaconda Python 3 on macOS. I managed to circumvent the error by installing calcos from source before costools.
The text was updated successfully, but these errors were encountered:
I had this issue thrown, and a few others. Ultimatley for install this is what I did using a Windows operating system:
(1) Make a new folder for related packages, mine's named "STScI_Python_Tools"
(2) Open bash and navigate to the new folder
(3) In bash clone the git calcos and costools (in that order) using
-$git clone https://github.com/spacetelescope/calcos.git
-$git clone https://github.com/spacetelescope/costools.git
(4) Add this new folder to your python path lists. I use Spyder and did this:
- Spyder -> Tools -> Python Task Manager -> Add -> STScI_Python_Tools
When I tried to install
costools
from source, I got this error:I am using Anaconda Python 3 on macOS. I managed to circumvent the error by installing
calcos
from source beforecostools
.The text was updated successfully, but these errors were encountered: