John
03/29/2023, 11:27 PMScript at '/path/to/file.py' encountered an exception: ModuleNotFoundError("No module named 'numpy'")
.Ryan Peden
03/29/2023, 11:36 PMJohn
03/29/2023, 11:54 PMRyan Peden
03/30/2023, 1:04 AMnumpy
and any other heavy dependencies in conda's base
environment. Then, when you 'install' numpy at runtime so Prefect can use it, instead of re-downloading the package, it will just pull it from the local cacheJohn
03/30/2023, 3:04 AMRyan Peden
03/30/2023, 3:28 AMimport numpy
and tries to import numpy
as well, then complains when it it missing.