Melody Lui

05/24/2023, 9:31 PM
noob question: how do i install transformers? i’ve tried
pip install transformers
pip3 install transformers
python3 -m pip install transformers
, and i could find transformers installed using
pip freeze --local
. it’s also installed in the docker image. but i can’t register in flyte without error
ModuleNotFoundError: No module named 'transformers'
i’m trying to import it in the file containing my workflow. if i use transformers in another file and call it in the workflow, it works

Evan Sadler

05/24/2023, 9:36 PM
What command are you using to register it?

Melody Lui

05/25/2023, 12:10 AM
i think this is an issue with my local cli 😅 feel free to ignore this