Slackbot
10/17/2022, 12:49 AMMaximiliano Biga
10/17/2022, 12:50 AMPackageNotFoundError Traceback (most recent call last)
<ipython-input-39-fb2675e643a2> in <module>
----> 1 bento_model = bentoml.xgboost.save_model('credit_risk_model',model)
c:\Users\ABIGA\Anaconda3\envs\ml-zoomcamp\lib\site-packages\bentoml\_internal\frameworks\xgboost.py in save_model(name, model, signatures, labels, custom_objects, metadata)
160 context: ModelContext = ModelContext(
161 framework_name="xgboost",
--> 162 framework_versions={"xgboost": get_pkg_version("xgboost")},
163 )
164
c:\Users\ABIGA\Anaconda3\envs\ml-zoomcamp\lib\importlib\metadata.py in version(distribution_name)
567 "Version" metadata key.
568 """
--> 569 return distribution(distribution_name).version
570
571
c:\Users\ABIGA\Anaconda3\envs\ml-zoomcamp\lib\importlib\metadata.py in distribution(distribution_name)
`540 return A ``Distribution`` instance (or subclass thereof).`
541 """
--> 542 return Distribution.from_name(distribution_name)
543
544
...
--> 196 raise PackageNotFoundError(name)
197
198 @classmethod
PackageNotFoundError: xgboostChaoyu
10/17/2022, 1:03 AMMaximiliano Biga
10/17/2022, 1:05 AMMaximiliano Biga
10/17/2022, 1:08 AMWARNING: Ignoring invalid distribution -ywin32 (c:\users\abiga\appdata\roaming\python\python39\site-packages)
aiofiles==0.7.0
aiohttp @ file:///C:/ci/aiohttp_1646806572557/work
aiosignal @ file:///tmp/build/80754af9/aiosignal_1637843061372/work
anyio @ file:///C:/ci/anyio_1644481921011/work/dist
appdirs==1.4.4
argon2-cffi @ file:///opt/conda/conda-bld/argon2-cffi_1645000214183/work
argon2-cffi-bindings @ file:///C:/ci/argon2-cffi-bindings_1644551690056/work
asgiref @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_cchykh5sgr/croots/recipe/asgiref_1661287542702/work
asttokens @ file:///opt/conda/conda-bld/asttokens_1646925590279/work
async-timeout @ file:///C:/b/abs_43ozhz2a8g/croots/recipe/async-timeout_1664876362767/work
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
backcall==0.2.0
backports.cached-property @ file:///home/conda/feedstock_root/build_artifacts/backports.cached-property_1655884010323/work
beautifulsoup4 @ file:///C:/ci/beautifulsoup4_1650293025093/work
bentoml @ file:///home/conda/feedstock_root/build_artifacts/bentoml_1658834260420/work
bleach @ file:///opt/conda/conda-bld/bleach_1641577558959/work
Bottleneck @ file:///C:/Windows/Temp/abs_3198ca53-903d-42fd-87b4-03e6d03a8381yfwsuve8/croots/recipe/bottleneck_1657175565403/work
brotlipy==0.7.0
cattrs @ file:///home/conda/feedstock_root/build_artifacts/cattrs_1664824901782/work
certifi==2022.9.24
cffi @ file:///C:/Windows/Temp/abs_6808y9x40v/croots/recipe/cffi_1659598653989/work
chardet @ file:///C:/ci/chardet_1607706937985/work
charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
circus @ file:///home/conda/feedstock_root/build_artifacts/circus_1662806111897/work
click @ file:///C:/ci/click_1646038595831/work
cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
colorama==0.4.4
commonmark @ file:///Users/ktietz/demo/mc3/conda-bld/commonmark_1630649545323/work
contextlib2 @ file:///C:/b/abs_0esl3sdprx/croots/recipe/contextlib2_1663665200516/work
cryptography @ file:///C:/ci/cryptography_1652083563162/work
cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work
debugpy @ file:///C:/ci/debugpy_1637091961445/work
decorator==5.0.9
deepmerge @ file:///home/conda/feedstock_root/build_artifacts/deepmerge_1639903539446/work
defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
Deprecated @ file:///C:/Windows/TEMP/abs_4flgviyh6m/croots/recipe/deprecated_1659726430166/work
entrypoints @ file:///C:/ci/entrypoints_1649926621128/work
exceptiongroup @ file:///home/conda/feedstock_root/build_artifacts/exceptiongroup_1661724178959/work
executing @ file:///opt/conda/conda-bld/executing_1646925071911/work
fastjsonschema @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_ebruxzvd08/croots/recipe/python-fastjsonschema_1661376484940/work
filelock @ file:///opt/conda/conda-bld/filelock_1647002191454/work
Flask @ file:///C:/ci/flask_1658841816156/work
fonttools==4.25.0
frozenlist @ file:///C:/ci/frozenlist_1637767271796/work
fs @ file:///home/conda/feedstock_root/build_artifacts/fs_1646236335619/work
future @ file:///C:/ci/future_1607568713721/work
h11 @ file:///tmp/build/80754af9/h11_1620423447028/work
idna @ file:///tmp/build/80754af9/idna_1637925883363/work
importlib-metadata @ file:///C:/ci/importlib-metadata_1648562621412/work
ipykernel==5.5.5
ipython==7.24.1
ipython-genutils==0.2.0
ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
jedi==0.18.0
Jinja2 @ file:///opt/conda/conda-bld/jinja2_1647436528585/work
joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
jsonschema @ file:///C:/b/abs_59eyhnbyej/croots/recipe/jsonschema_1663375476535/work
jupyter @ file:///C:/Windows/TEMP/abs_56xfdi__li/croots/recipe/jupyter_1659349053177/work
jupyter-client==6.1.12
jupyter-console @ file:///opt/conda/conda-bld/jupyter_console_1647002188872/work
jupyter-core==4.7.1
jupyter-server @ file:///C:/Windows/TEMP/abs_d3c42c59-765d-4f9b-9fa3-ad5b1369485611i_yual/croots/recipe/jupyter_server_1658754493238/work
jupyterlab @ file:///C:/ci/jupyterlab_1658891142428/work
jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
jupyterlab_server @ file:///C:/ci/jupyterlab_server_1664893164497/work
kiwisolver @ file:///C:/ci/kiwisolver_1653292407425/work
MarkupSafe @ file:///C:/ci/markupsafe_1654508077284/work
matplotlib @ file:///C:/ci/matplotlib-suite_1660169687702/work
matplotlib-inline==0.1.2
mistune @ file:///C:/ci/mistune_1607359457024/work
mkl-fft==1.3.1
mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
mkl-service==2.4.0
multidict @ file:///C:/b/abs_6cx_8w3cv2/croot/multidict_1665674238352/work
munkres==1.1.4
nbclassic @ file:///opt/conda/conda-bld/nbclassic_1644943264176/work
nbclient @ file:///C:/ci/nbclient_1650290387259/work
nbconvert @ file:///C:/ci/nbconvert_1649741016669/work
nbformat @ file:///C:/b/abs_1dw90o2uqb/croots/recipe/nbformat_1663744957967/work
nest-asyncio @ file:///C:/ci/nest-asyncio_1649829929390/work
notebook @ file:///C:/Windows/TEMP/abs_79abr1_60s/croots/recipe/notebook_1659083661851/work
numexpr @ file:///C:/Windows/Temp/abs_e2036a32-9fe9-47f3-a04c-dbb1c232ba4b334exiur/croots/recipe/numexpr_1656940304835/work
numpy @ file:///C:/ci/numpy_and_numpy_base_1653574844560/work
opentelemetry-api @ file:///D:/bld/opentelemetry-api_1643232771187/work
opentelemetry-instrumentation @ file:///home/conda/feedstock_root/build_artifacts/opentelemetry-instrumentation_1643273867911/work
opentelemetry-instrumentation-aiohttp-client @ file:///home/conda/feedstock_root/build_artifacts/opentelemetry-instrumentation-aiohttp-client_1643288074320/work
opentelemetry-instrumentation-asgi @ file:///home/conda/feedstock_root/build_artifacts/opentelemetry-instrumentation-asgi_1643281876638/work
opentelemetry-sdk @ file:///home/conda/feedstock_root/build_artifacts/opentelemetry-sdk_1644013720893/work
opentelemetry-semantic-conventions @ file:///home/conda/feedstock_root/build_artifacts/opentelemetry-semantic-conventions_1643231380790/work
opentelemetry-util-http @ file:///home/conda/feedstock_root/build_artifacts/opentelemetry-util-http_1643274087768/work
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
pandas @ file:///C:/ci/pandas_1657532024991/work
pandocfilters @ file:///opt/conda/conda-bld/pandocfilters_1643405455980/work
parso==0.8.2
pathspec @ file:///C:/Windows/TEMP/abs_581d0u45mh/croots/recipe/pathspec_1659627132171/work
pep517 @ file:///C:/ci/pep517_1637318522547/work
pickleshare==0.7.5
Pillow==9.2.0
pip-tools @ file:///home/conda/feedstock_root/build_artifacts/pip-tools_1653370837361/work
ply==3.11
prometheus-client @ file:///opt/conda/conda-bld/prometheus_client_1643788673601/work
prompt-toolkit==3.0.19
psutil @ file:///C:/Windows/Temp/abs_b2c2fd7f-9fd5-4756-95ea-8aed74d0039flsd9qufz/croots/recipe/psutil_1656431277748/work
pure-eval @ file:///opt/conda/conda-bld/pure_eval_1646925070566/work
pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work
Pygments==2.9.0
pynvml @ file:///home/conda/feedstock_root/build_artifacts/pynvml_1639061605391/work
pyOpenSSL @ file:///opt/conda/conda-bld/pyopenssl_1643788558760/work
pyparsing @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_7f_7lba6rl/croots/recipe/pyparsing_1661452540662/work
PyQt5==5.15.7
PyQt5-sip @ file:///C:/Windows/Temp/abs_d7gmd2jg8i/croots/recipe/pyqt-split_1659273064801/work/pyqt_sip
pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
PySocks @ file:///C:/ci/pysocks_1605307512533/work
python-dateutil==2.8.1
python-dotenv @ file:///home/conda/feedstock_root/build_artifacts/python-dotenv_1662230030282/work
python-json-logger @ file:///tmp/build/80754af9/python-json-logger_1602614476658/work
python-multipart==0.0.5
pytz @ file:///C:/Windows/TEMP/abs_90eacd4e-8eff-491e-b26e-f707eba2cbe1ujvbhqz1/croots/recipe/pytz_1654762631027/work
pywin32==302
pywinpty @ file:///C:/ci_310/pywinpty_1644230983541/work/target/wheels/pywinpty-2.0.2-cp39-none-win_amd64.whl
PyYAML==6.0
pyzmq==22.1.0
qtconsole @ file:///C:/ci/qtconsole_1662019208635/work
QtPy @ file:///C:/ci/qtpy_1662015096047/work
requests @ file:///C:/ci/requests_1657735342357/work
rich @ file:///C:/Windows/TEMP/abs_7anftszm_e/croots/recipe/rich_1659708309427/work
schema @ file:///C:/b/abs_1d32vhm1q4/croots/recipe/schema_1663666370420/work
scikit-learn @ file:///C:/ci/scikit-learn_1658344472767/work
scipy==1.9.1
seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
simple-di @ file:///home/conda/feedstock_root/build_artifacts/simple-di_1656418562483/work
sip @ file:///C:/Windows/Temp/abs_b8fxd17m2u/croots/recipe/sip_1659012372737/work
six @ file:///tmp/build/80754af9/six_1644875935023/work
sniffio @ file:///C:/ci/sniffio_1614030527509/work
soupsieve @ file:///tmp/build/80754af9/soupsieve_1636706018808/work
stack-data @ file:///opt/conda/conda-bld/stack_data_1646927590127/work
starlette @ file:///home/conda/feedstock_root/build_artifacts/starlette-recipe_1664435018216/work
terminado @ file:///C:/ci/terminado_1644322780199/work
testpath @ file:///C:/Windows/TEMP/abs_23c7fa33-cbb9-46dc-b7c5-590c38e2de3d4bmbngal/croots/recipe/testpath_1655908553202/work
threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
tomli @ file:///C:/Windows/TEMP/abs_ac109f85-a7b3-4b4d-bcfd-52622eceddf0hy332ojo/croots/recipe/tomli_1657175513137/work
tornado==6.1
traitlets==5.0.5
typing_extensions @ file:///C:/Windows/TEMP/abs_dd2d0moa85/croots/recipe/typing_extensions_1659638831135/work
urllib3 @ file:///C:/Windows/TEMP/abs_65ynz4fdmi/croots/recipe/urllib3_1659110473919/work
uvicorn @ file:///D:/bld/uvicorn-split_1661373803976/work
waitress @ file:///tmp/build/80754af9/waitress_1615230899664/work
wcwidth==0.2.5
webencodings==0.5.1
websocket-client @ file:///C:/ci/websocket-client_1614804375980/work
Werkzeug @ file:///opt/conda/conda-bld/werkzeug_1645628268370/work
widgetsnbextension @ file:///C:/ci/widgetsnbextension_1644991377168/work
win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
wincertstore==0.2
wrapt @ file:///C:/Windows/Temp/abs_7c3dd407-1390-477a-b542-fd15df6a24085_diwiza/croots/recipe/wrapt_1657814452175/work
yarl @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_e5nlunspj6/croots/recipe/yarl_1661437086516/work
zipp @ file:///C:/ci/zipp_1652273994994/workAaron Pham
10/17/2022, 1:15 AMMaximiliano Biga
10/17/2022, 1:15 AMMaximiliano Biga
10/17/2022, 1:16 AMconda install -c conda-forge bentomlAaron Pham
10/17/2022, 1:17 AMbentoml --version and show us the version of bentoml? We havenāt decided fully on our support for conda as it is not maintained by the BentoML teamMaximiliano Biga
10/17/2022, 1:17 AM(ml-zoomcamp) C:\Users\ABIGA>bentoml --version
bentoml, version 1.0.0Aaron Pham
10/17/2022, 1:18 AMpip install -U bentoml ?Chaoyu
10/17/2022, 1:20 AMMaximiliano Biga
10/17/2022, 1:20 AMMaximiliano Biga
10/17/2022, 1:21 AMAaron Pham
10/17/2022, 1:24 AMMaximiliano Biga
10/17/2022, 1:49 AM