caracal-pipeline / caracal

Containerized Automated Radio Astronomy Calibration (CARACal) pipeline
GNU General Public License v2.0
28 stars 6 forks source link

No module named 'scipy' [ModuleNotFoundError] #1519

Closed o-smirnov closed 1 year ago

o-smirnov commented 1 year ago

Fresh venv, pip install poetry, poetry install caracal from master, I get a missing scipy:

# Successful readonly open of default-locked table /stimela_mount/msdir/jwst0723_u-cal.ms::POLARIZATION: 4 columns, 1 rows
2023-06-09 20:19:28 CARACal.Stimela.summary_json-ms0-0 INFO: job complete at 2023-06-09 20:19:28.513613 after 0:00:09.554328
2023-06-09 20:19:28 CARACal INFO: transform: finished
2023-06-09 20:19:28 CARACal INFO: prep: initializing
2023-06-09 20:19:28 CARACal INFO: Obtaining divine knowledge from /home/oms/projects/caracal/caracal/data/southern_calibrators.txt
2023-06-09 20:19:28 CARACal ERROR: No module named 'scipy' [ModuleNotFoundError]
2023-06-09 20:19:28 CARACal INFO:   More information can be found in the logfile at /scratch/oms/jwst/output//logs-20230609-200304/log-caracal.txt

Will install manually and forge on.

KshitijT commented 1 year ago

Does it now get installed only with the [all] option?

o-smirnov commented 1 year ago

Well the README says just to do poetry install. What's the meaning of [all]? @SpheMakh?

SpheMakh commented 1 year ago

Well the README says just to do poetry install. What's the meaning of [all]? @SpheMakh?

"CARACal has a few optional dependencies (scipy, astropy, regions, astroquery) which are not installed by default. But to get full functionality, you can install them by running ... "