Hello,
I am trying to install a local package during the cog build process. Specifically, I would like to install a package from a local file like this:
pip install mylibpackage.zip
I tried adding it to requirements.txt and also specifying it in the run command inside my cog.yaml file, like so:
run:
- pip install mylibpackage.zip
But no luck so far. 😕
Is there a proper way to install local packages during the cog build? Maybe I'm missing something or it’s just not supported?
Any help or direction would be greatly appreciated!
Thank you!
Hello,
I am trying to install a local package during the cog build process. Specifically, I would like to install a package from a local file like this:
pip install mylibpackage.zipI tried adding it to
requirements.txtand also specifying it in the run command inside mycog.yamlfile, like so:But no luck so far. 😕
Is there a proper way to install local packages during the cog build? Maybe I'm missing something or it’s just not supported?
Any help or direction would be greatly appreciated!
Thank you!