-
Using
When I explicit say which package to install as below:
I am getting error during packing this service:
What is a proper way to include this package? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@pkolebski here are related documentation for how to use a pip package from git: https://docs.bentoml.org/en/latest/concepts.html#pypi-packages Note that this is not supported in the current version 0.11.0, but will be available in the next release. In the next release, you will be able to use git repo with the standard PyPI package descriptor format: @bentoml.env(
pip_packages=[
'scikit-learn',
'pandas @https://github.com/pypa/pip/archive/1.3.1.zip',
]
) Or use your own |
Beta Was this translation helpful? Give feedback.
@pkolebski here are related documentation for how to use a pip package from git: https://docs.bentoml.org/en/latest/concepts.html#pypi-packages
Note that this is not supported in the current version 0.11.0, but will be available in the next release. In the next release, you will be able to use git repo with the standard PyPI package descriptor format:
Or use your own
requirement.txt
file, e.g.:@bentoml.env(requirements_txt_file='./requirements.txt')