Hi all, I'm getting an error when trying to impor...
# ask-metaflow
a
Hi all, I'm getting an error when trying to import my own custom library that's in the same folder as my flow file. When I do
python gw_train.py show
, it returns the following error:
Copy code
ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/scipy/linalg/_matfuncs_sqrtm_triu.cpython-310-x86_64-linux-gnu.so)
Any insight as to what is causing this error? As a workaround, I suppose I could just create my own custom dockerfile, then bake this custom package into it, and then pass the ecr docker image into
@batch
. But would be nice to just import this directly and have Metaflow automatically create a code package including my custom libraries.
1