Skip to content
rzellem edited this page Jul 9, 2020 · 28 revisions

How to easily install required Python packages for EXOTIC

In your terminal, type:

pip install -r requirements.txt


URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)>

If you get the error above, follow the instructions on this website: https://timonweb.com/tutorials/fixing-certificate_verify_failed-error-when-trying-requests_html-out-on-mac/

The second command has worked for most users.


ModuleNotFoundError: No module named BLAH

If you get the error above, it means that not all of the Python packages to run EXOTIC have been installed.

The recommend installation method is to install within ipython itself. After launching ipython (by typing ipython at the command line), type in the following two lines:

import sys
!{sys.executable} -m pip install BLAH

where you replace BLAH with the name of your missing package. If you've recently updated python or didn't exactly follow the install instructions with Anaconda, you will probably need to install these remaining packages. No worries. Just keep trying to run EXOTIC and installing packages if needed until you've got everything installed properly.


ModuleNotFoundError: No module named 'skimage'

you just need to manually install scikit-image instead of skimage using the install command listed in the previous FAQ above


error that begins with WARNING: failed to download http://maia.usno.navy.mil/ser7/finals2000A.all....

This is an error due to the USNO website being down for maintenance for the next 6 months. In order to get around this error, you simply need to update astropy. The recommended method is to open ipython in your terminal and then type:

import sys
!{sys.executable} -m pip install astropy --upgrade

Traceback error after "No BJDs in Image Headers. Converting all JDs to BJD_TDBs."

This error occurs due to the converting to BJDs. In order to fix it, you'll need to update a few Python packages. To do so, open ipython like normal. Then type:

import sys
!{sys.executable} -m pip install astropy --upgrade
!{sys.executable} -m pip install photutils --upgrade
!{sys.executable} -m pip install astroquery --upgrade
!{sys.executable} -m pip install barycorrpy --upgrade

Then exit and restart ipython again. EXOTIC should now work.