kevin218 / Eureka

Eureka! is a data reduction and analysis pipeline intended for time-series observations with JWST.
https://eurekadocs.readthedocs.io/
MIT License
58 stars 45 forks source link

[Bug]: Not compatible with Colab #553

Closed dreamjade closed 1 year ago

dreamjade commented 1 year ago

FAQ check

Instrument

Other (any stage)

What happened?

Colab now uses python 3.10 import eureka with raise the following error: ContextualVersionConflict: (certifi 2023.5.7 (/usr/local/lib/python3.10/dist-packages), Requirement.parse('certifi==2022.5.18.1'), {'jwst'})

Error traceback output

No response

What operating system are you using?

Colab

What version of Python are you running?

Python 3.10

What Python packages do you have installed?

No response

Code of Conduct

taylorbell57 commented 1 year ago

Strange, it worked just fine on Monday with python 3.10 on Colab. Let me check

taylorbell57 commented 1 year ago

Running:

# Change numpy version (required for theano)
!pip install numpy==1.21.6
# Install Eureka! (for now a dev branch, but in the future a stable branch)
!pip install eureka[jwst]@git+https://github.com/kevin218/Eureka.git@dev/tjb

and then clicking Runtime->Restart runtime

and then running:

import eureka

works just fine for me on Google Colab. Can you confirm that you followed those exact steps?