Need Support

Can anyone support
from inference import get_model is giving error
The error is no get module under inference

Hi @Ali_Rabie ,

Can you please paste example script and whole stack trace?

Thanks!
Grzegorz

Thanks for your reply:
from inference import get_model
import supervision as sv
import cv2
import os

Set your Roboflow API key (replace with your actual key)

os.environ[“ROBOFLOW_API_KEY”] = “XXXX”

Load your image

image_file = “Coupon-N80-after-cleaning.png”
image = cv2.imread(image_file)

Initialize the Roboflow model (replace with your project ID/version)

model = get_model(model_id=“corro_scan-ar/2”) # Format: “project_id/version”

Run inference

results = model.infer(image)[0]

Convert results to Supervision Detections

detections = sv.Detections.from_inference(results)

Annotate the image

bounding_box_annotator = sv.BoxAnnotator()
label_annotator = sv.LabelAnnotator()

annotated_image = bounding_box_annotator.annotate(scene=image, detections=detections)
annotated_image = label_annotator.annotate(scene=annotated_image, detections=detections)

Display the result

sv.plot_image(annotated_image)

Thanks,

Can you please also post output of:

pip freeze

Grzegorz

absl-py==1.3.0 accelerate==0.30.1 aiohttp==3.9.5 aiosignal==1.3.1 alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work alembic==1.10.4 altgraph @ file:///C:/b/abs_f2edualeyv/croot/altgraph_1670426107695/work anaconda-client==1.11.0 anaconda-navigator==2.4.0 anaconda-project @ file:///C:/Windows/TEMP/abs_91fu4tfkih/croots/recipe/anaconda-project_1660339890874/work annotated-types==0.6.0 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 arrow @ file:///opt/conda/conda-bld/arrow_1649166651673/work astroid @ file:///C:/Windows/TEMP/abs_b0dtxgpicv/croots/recipe/astroid_1659023126745/work astropy @ file:///C:/ci/astropy_1657719656942/work astunparse==1.6.3 async-timeout==4.0.3 atomicwrites==1.4.0 attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work Automat @ file:///tmp/build/80754af9/automat_1600298431173/work autopep8 @ file:///opt/conda/conda-bld/autopep8_1650463822033/work Babel @ file:///tmp/build/80754af9/babel_1620871417480/work backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work backports.weakref==1.0.post1 bcrypt @ file:///C:/Windows/Temp/abs_36kl66t_aw/croots/recipe/bcrypt_1659554334050/work beautifulsoup4 @ file:///C:/ci/beautifulsoup4_1650293025093/work binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work bitarray @ file:///C:/ci/bitarray_1657729621682/work bitsandbytes==0.43.1 bkcharts==0.2 black @ file:///C:/ci/black_1660239974023/work bleach @ file:///opt/conda/conda-bld/bleach_1641577558959/work bokeh @ file:///C:/Windows/TEMP/abs_4a259bc2-ed05-4a1f-808e-ac712cc0900cddqp8sp7/croots/recipe/bokeh_1658136660686/work boto3 @ file:///C:/Windows/TEMP/abs_4009c406-44ba-4406-8996-204d9b11202flt4kglbk/croots/recipe/boto3_1657820114895/work botocore @ file:///C:/ci/botocore_1657735875454/work Bottleneck @ file:///C:/Windows/Temp/abs_3198ca53-903d-42fd-87b4-03e6d03a8381yfwsuve8/croots/recipe/bottleneck_1657175565403/work brotlipy==0.7.0 cachetools==5.2.0 catboost==1.2 certifi @ file:///C:/b/abs_4f5wo627a3/croots/recipe/certifi_1663615677642/work/certifi 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 click @ file:///C:/ci/click_1646038595831/work cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work clyent==1.2.2 cmaes==0.9.1 colorama @ file:///C:/Windows/TEMP/abs_9439aeb1-0254-449a-96f7-33ab5eb17fc8apleb4yn/croots/recipe/colorama_1657009099097/work colorcet @ file:///C:/ci/colorcet_1651851676912/work coloredlogs==15.0.1 colorlog==6.7.0 comtypes==1.1.10 conda==22.9.0 conda-build==3.22.0 conda-content-trust @ file:///C:/Windows/TEMP/abs_4589313d-fc62-4ccc-81c0-b801b4449e833j1ajrwu/croots/recipe/conda-content-trust_1658126379362/work conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work conda-package-handling @ file:///C:/b/abs_81m11h_i4r/croots/recipe/conda-package-handling_1663598470202/work conda-repo-cli==1.0.20 conda-token @ file:///Users/paulyim/miniconda3/envs/c3i/conda-bld/conda-token_1662660369760/work conda-verify==3.4.2 constantly==15.1.0 contourpy==1.3.0 cookiecutter @ file:///opt/conda/conda-bld/cookiecutter_1649151442564/work cryptography @ file:///C:/ci/cryptography_1652083563162/work cssselect==1.1.0 cycler @ file:///tmp/build/80754af9/cycler_1637851556182/work Cython @ file:///C:/b/abs_0438epndxm/croots/recipe/cython_1663692771227/work cytoolz==0.11.0 daal4py==2021.6.0 dask @ file:///C:/ci/dask-core_1658515307198/work dataclasses-json==0.6.5 datashader @ file:///C:/Windows/TEMP/abs_62cyd2dpuf/croots/recipe/datashader_1659349034750/work datashape==0.5.4 debugpy @ file:///C:/ci/debugpy_1637091961445/work decorator @ file:///opt/conda/conda-bld/decorator_1643638310831/work defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work dill @ file:///tmp/build/80754af9/dill_1623919422540/work distributed @ file:///C:/ci/distributed_1658505715201/work distro==1.9.0 docutils @ file:///C:/Windows/TEMP/abs_24e5e278-4d1c-47eb-97b9-f761d871f482dy2vg450/croots/recipe/docutils_1657175444608/work entrypoints @ file:///C:/ci/entrypoints_1649926621128/work et-xmlfile==1.1.0 faiss-cpu==1.8.0 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 filetype==1.2.0 flake8 @ file:///opt/conda/conda-bld/flake8_1648129545443/work Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work flatbuffers==22.10.26 fonttools==4.25.0 frozendict==2.4.2 frozenlist==1.4.1 fsspec==2024.3.1 future @ file:///C:/ci/future_1607568713721/work gast==0.4.0 gensim @ file:///C:/ci/gensim_1646825438310/work glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work google-ai-generativelanguage==0.6.4 google-api-core==2.19.0 google-api-python-client==2.129.0 google-auth==2.29.0 google-auth-httplib2==0.2.0 google-auth-oauthlib==0.4.6 google-generativeai==0.5.4 google-pasta==0.2.0 googleapis-common-protos==1.63.0 graphviz==0.20.1 greenlet @ file:///C:/ci/greenlet_1628888275363/work grpcio==1.64.0 grpcio-status==1.62.2 h11==0.14.0 h5py @ file:///C:/ci/h5py_1659089875384/work HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work holoviews @ file:///C:/Windows/TEMP/abs_fb9d2988-9681-46b6-b9ab-190cfecd15d7uinyq_4z/croots/recipe/holoviews_1658171511842/work html5lib==1.1 htmlmin==0.1.12 httpcore==1.0.5 httplib2==0.22.0 httpx==0.27.0 huggingface-hub==0.23.0 humanfriendly==10.0 hvplot @ file:///C:/Windows/TEMP/abs_02zoq6lck3/croots/recipe/hvplot_1659026502064/work hyperlink @ file:///tmp/build/80754af9/hyperlink_1610130746837/work idna==3.7 imagecodecs @ file:///C:/b/abs_948ub5byiu/croots/recipe/imagecodecs_1664562381493/work imageio @ file:///C:/Windows/TEMP/abs_24c1b783-7540-4ca9-a1b1-0e8aa8e6ae64hb79ssux/croots/recipe/imageio_1658785038775/work imagesize @ file:///C:/Windows/TEMP/abs_3cecd249-3fc4-4bfc-b80b-bb227b0d701en12vqzot/croots/recipe/imagesize_1657179501304/work imbalanced-learn==0.10.1 imblearn==0.0 importlib-metadata @ file:///C:/ci/importlib-metadata_1648562621412/work importlib_resources==6.5.2 incremental @ file:///tmp/build/80754af9/incremental_1636629750599/work inference-tools==0.13.4 inflection==0.5.1 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work InstructorEmbedding==1.0.1 intake @ file:///opt/conda/conda-bld/intake_1647436631684/work intel-openmp==2021.4.0 intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work ipykernel @ file:///C:/b/abs_21ykzkm7y_/croots/recipe/ipykernel_1662361803478/work ipython @ file:///C:/Windows/TEMP/abs_45b5zb1l7q/croots/recipe/ipython_1659529855872/work ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work isort @ file:///tmp/build/80754af9/isort_1628603791788/work itemadapter @ file:///tmp/build/80754af9/itemadapter_1626442940632/work itemloaders @ file:///opt/conda/conda-bld/itemloaders_1646805235997/work itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work jedi @ file:///C:/ci/jedi_1644315428289/work jellyfish @ file:///C:/ci/jellyfish_1647962783748/work Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work jinja2-time @ file:///opt/conda/conda-bld/jinja2-time_1649251842261/work jmespath @ file:///Users/ktietz/demo/mc3/conda-bld/jmespath_1630583964805/work joblib==1.2.0 json5 @ file:///tmp/build/80754af9/json5_1624432770122/work jsonpatch==1.33 jsonpointer==2.4 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-console @ file:///opt/conda/conda-bld/jupyter_console_1647002188872/work jupyter-server @ file:///C:/Windows/TEMP/abs_d3c42c59-765d-4f9b-9fa3-ad5b1369485611i_yual/croots/recipe/jupyter_server_1658754493238/work jupyter_client @ file:///C:/ci/jupyter_client_1661836943389/work jupyter_core @ file:///C:/b/abs_a9330r1z_i/croots/recipe/jupyter_core_1664917313457/work jupyterlab @ file:///C:/ci/jupyterlab_1658891142428/work jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work jupyterlab-server @ file:///opt/conda/conda-bld/jupyterlab_server_1644500396812/work jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work keras==2.11.0 keyring @ file:///C:/ci/keyring_1638531673471/work kiwisolver @ file:///C:/ci/kiwisolver_1653292407425/work langchain==0.2.0 langchain-community==0.0.36 langchain-core==0.2.1 langchain-google-genai==1.0.5 langchain-text-splitters==0.2.0 langsmith==0.1.54 lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work libclang==14.0.6 lightgbm==3.3.5 llvmlite==0.38.0 locket @ file:///C:/ci/locket_1652904031364/work lucifer-ml==0.0.79 lxml @ file:///C:/ci/lxml_1657527445690/work lz4 @ file:///C:/ci/lz4_1619516674350/work Mako==1.2.4 Markdown @ file:///C:/ci/markdown_1614364082838/work MarkupSafe @ file:///C:/ci/markupsafe_1621528502553/work marshmallow==3.21.2 matplotlib==3.9.4 matplotlib-inline @ file:///C:/ci/matplotlib-inline_1661915841596/work mccabe==0.6.1 menuinst @ file:///C:/Users/BUILDE~1/AppData/Local/Temp/abs_455sf5o0ct/croots/recipe/menuinst_1661805970842/work mistune @ file:///C:/ci/mistune_1607359457024/work mkl==2021.4.0 mkl-fft==1.3.1 mkl-random @ file:///C:/ci/mkl_random_1626186184308/work mkl-service==2.4.0 mlxtend==0.22.0 mock @ file:///tmp/build/80754af9/mock_1607622725907/work mpmath==1.2.1 msgpack @ file:///C:/ci/msgpack-python_1652329316214/work multidict==6.0.5 multimethod==1.11.2 multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work multitasking==0.0.11 munkres==1.1.4 mypy-extensions==0.4.3 navigator-updater==0.3.0 nb-conda-kernels @ file:///C:/ci/nb_conda_kernels_1636036497477/work 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 networkx @ file:///C:/ci/networkx_1657716998256/work nltk @ file:///opt/conda/conda-bld/nltk_1645628263994/work nose @ file:///opt/conda/conda-bld/nose_1642704612149/work notebook @ file:///C:/Windows/TEMP/abs_79abr1_60s/croots/recipe/notebook_1659083661851/work numba @ file:///C:/ci/numba_1650394399948/work numexpr @ file:///C:/Windows/Temp/abs_e2036a32-9fe9-47f3-a04c-dbb1c232ba4b334exiur/croots/recipe/numexpr_1656940304835/work numpy==1.24.4 numpydoc @ file:///C:/Windows/TEMP/abs_30799058-86dd-4401-b621-d172137a4d87_ra3twm7/croots/recipe/numpydoc_1657529873713/work oauthlib==3.2.2 olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work onnx==1.17.0 onnxruntime==1.19.2 openai==1.0.0 opencv-python==4.10.0.84 opencv-python-headless==4.10.0.84 openpyxl==3.0.10 opt-einsum==3.3.0 optuna==3.1.1 orjson==3.10.3 packaging==23.2 pandas @ file:///C:/b/abs_cdcgk91igc/croots/recipe/pandas_1663772960432/work pandocfilters @ file:///opt/conda/conda-bld/pandocfilters_1643405455980/work panel @ file:///C:/ci/panel_1657899702145/work param @ file:///tmp/build/80754af9/param_1636647414893/work paramiko @ file:///opt/conda/conda-bld/paramiko_1640109032755/work parsel @ file:///C:/ci/parsel_1646740216444/work parso @ file:///opt/conda/conda-bld/parso_1641458642106/work partd @ file:///opt/conda/conda-bld/partd_1647245470509/work pathlib @ file:///Users/ktietz/demo/mc3/conda-bld/pathlib_1629713961906/work pathspec @ file:///C:/Windows/TEMP/abs_581d0u45mh/croots/recipe/pathspec_1659627132171/work patsy==0.5.2 pdfminer.six==20240706 peewee==3.17.3 pep8==1.7.1 pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work pillow==10.4.0 pkginfo @ file:///tmp/build/80754af9/pkginfo_1643162084911/work platformdirs @ file:///C:/b/abs_73cc5cz_1u/croots/recipe/platformdirs_1662711386458/work plotly @ file:///C:/ci/plotly_1658142442431/work pluggy @ file:///C:/ci/pluggy_1648024580010/work poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work prometheus-client @ file:///C:/Windows/TEMP/abs_ab9nx8qb08/croots/recipe/prometheus_client_1659455104602/work prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work Protego @ file:///tmp/build/80754af9/protego_1598657180827/work proto-plus==1.23.0 protobuf==5.29.3 psutil @ file:///C:/Windows/Temp/abs_b2c2fd7f-9fd5-4756-95ea-8aed74d0039flsd9qufz/croots/recipe/psutil_1656431277748/work ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl py @ file:///opt/conda/conda-bld/py_1644396412707/work py-cpuinfo==9.0.0 pyasn1 @ file:///Users/ktietz/demo/mc3/conda-bld/pyasn1_1629708007385/work pyasn1-modules==0.2.8 pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1636635402688/work pycosat==0.6.3 pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work pyct @ file:///C:/ci/pyct_1658488033428/work pycurl==7.45.1 pydantic==2.7.0 pydantic_core==2.18.1 PyDispatcher==2.0.5 pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work pyerfa @ file:///C:/ci/pyerfa_1621560974055/work pyflakes @ file:///tmp/build/80754af9/pyflakes_1636644436481/work Pygments @ file:///opt/conda/conda-bld/pygments_1644249106324/work PyHamcrest @ file:///tmp/build/80754af9/pyhamcrest_1615748656804/work PyJWT @ file:///C:/ci/pyjwt_1657511236979/work pylint @ file:///C:/Windows/TEMP/abs_518eqlbmoo/croots/recipe/pylint_1659110354241/work pyls-spyder==0.4.0 PyNaCl @ file:///C:/Windows/Temp/abs_d5c3ajcm87/croots/recipe/pynacl_1659620667490/work pyodbc @ file:///C:/Windows/Temp/abs_61e3jz3u05/croots/recipe/pyodbc_1659513801402/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 pypdf==4.2.0 PyPDF2==3.0.1 pypdfium2==4.30.1 pypiwin32==223 pyreadline3==3.5.4 pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work PySocks @ file:///C:/ci/pysocks_1605307512533/work pytest==7.1.2 python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work python-dotenv==1.0.1 python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work python-lsp-jsonrpc==1.0.0 python-lsp-server @ file:///tmp/build/80754af9/python-lsp-server_1648176833691/work python-multipart==0.0.20 python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work python-snap7==1.2 python-snappy @ file:///C:/ci/python-snappy_1610133405910/work pyttsx3==2.98 pytz==2024.1 pyviz-comms @ file:///tmp/build/80754af9/pyviz_comms_1623747165329/work PyWavelets @ file:///C:/ci/pywavelets_1648728084106/work pywin32==302 pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work pywinpty @ file:///C:/ci_310/pywinpty_1644230983541/work/target/wheels/pywinpty-2.0.2-cp39-none-win_amd64.whl PyYAML==6.0 pyzmq @ file:///C:/ci/pyzmq_1657615952984/work QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl QtAwesome @ file:///tmp/build/80754af9/qtawesome_1637160816833/work qtconsole @ file:///opt/conda/conda-bld/qtconsole_1643819126524/work QtPy @ file:///C:/ci/qtpy_1662015096047/work queuelib==1.5.0 RapidFuzz==3.12.1 regex @ file:///C:/ci/regex_1658258307256/work requests==2.32.3 requests-file @ file:///Users/ktietz/demo/mc3/conda-bld/requests-file_1629455781986/work requests-oauthlib==1.3.1 requests-toolbelt==1.0.0 roboflow==1.1.53 rope @ file:///opt/conda/conda-bld/rope_1643788605236/work rsa==4.9 Rtree @ file:///C:/ci/rtree_1618421015405/work ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work s3transfer @ file:///C:/ci/s3transfer_1654512518418/work safetensors==0.4.3 scikit-image @ file:///C:/ci/scikit-image_1648214340990/work scikit-learn @ file:///C:/ci/scikit-learn_1642617276183/work scikit-learn-intelex==2021.20221004.171935 scipy==1.13.1 Scrapy @ file:///C:/Windows/TEMP/abs_f50e21j997/croots/recipe/scrapy_1659598707153/work seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work sentence-transformers==2.7.0 sentencepiece==0.2.0 service-identity @ file:///Users/ktietz/demo/mc3/conda-bld/service_identity_1629460757137/work shap==0.41.0 sip==4.19.13 six @ file:///tmp/build/80754af9/six_1644875935023/work slicer==0.0.7 smart-open @ file:///C:/ci/smart_open_1651235069716/work sniffio @ file:///C:/ci/sniffio_1614030527509/work snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1637937080595/work sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work soupsieve @ file:///tmp/build/80754af9/soupsieve_1636706018808/work SpeechRecognition==3.11.0 Sphinx @ file:///C:/ci/sphinx_1657617205740/work sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work spyder @ file:///C:/Windows/TEMP/abs_66k5aq_mkw/croots/recipe/spyder_1659599805372/work spyder-kernels @ file:///C:/ci/spyder-kernels_1647011408404/work SQLAlchemy @ file:///C:/Windows/Temp/abs_f8661157-660b-49bb-a790-69ab9f3b8f7c8a8s2psb/croots/recipe/sqlalchemy_1657867864564/work statsmodels==0.13.2 supervision==0.25.1 sympy @ file:///C:/ci/sympy_1647853873858/work tables==3.6.1 tabulate @ file:///C:/ci/tabulate_1657619055201/work tbb==2021.12.0 tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work tenacity==8.2.3 tensorboard==2.11.0 tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.1 tensorflow==2.11.0 tensorflow-estimator==2.11.0 tensorflow-intel==2.11.0 tensorflow-io-gcs-filesystem==0.27.0 termcolor==2.1.1 terminado @ file:///C:/ci/terminado_1644322780199/work testpath @ file:///C:/Windows/TEMP/abs_23c7fa33-cbb9-46dc-b7c5-590c38e2de3d4bmbngal/croots/recipe/testpath_1655908553202/work text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work tflearn==0.5.0 threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work tiktoken==0.7.0 timm==1.0.14 tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work tldextract @ file:///opt/conda/conda-bld/tldextract_1646638314385/work tokenizers==0.19.1 toml @ file:///tmp/build/80754af9/toml_1616166611790/work tomli @ file:///C:/Windows/TEMP/abs_ac109f85-a7b3-4b4d-bcfd-52622eceddf0hy332ojo/croots/recipe/tomli_1657175513137/work tomlkit @ file:///C:/Windows/TEMP/abs_3296qo9v6b/croots/recipe/tomlkit_1658946894808/work toolz @ file:///tmp/build/80754af9/toolz_1636545406491/work torch==2.3.0 torchaudio==2.3.0 torchsummary==1.5.1 torchvision==0.18.0 tornado @ file:///C:/ci/tornado_1606924294691/work tqdm @ file:///C:/b/abs_0axbz66qik/croots/recipe/tqdm_1664392691071/work traitlets @ file:///tmp/build/80754af9/traitlets_1636710298902/work transformers==4.41.0 Twisted @ file:///C:/Windows/Temp/abs_ccblv2rzfa/croots/recipe/twisted_1659592764512/work twisted-iocpsupport @ file:///C:/ci/twisted-iocpsupport_1646798932792/work typing-inspect==0.9.0 typing_extensions==4.11.0 tzdata==2024.1 ujson @ file:///C:/ci/ujson_1657525944442/work Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work unstructured-inference==0.8.7 uritemplate==4.1.1 urllib3 @ file:///C:/Windows/TEMP/abs_65ynz4fdmi/croots/recipe/urllib3_1659110473919/work w3lib @ file:///Users/ktietz/demo/mc3/conda-bld/w3lib_1629359764703/work watchdog @ file:///C:/ci/watchdog_1638367441841/work wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work 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 wikipedia==1.4.0 win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work win-unicode-console==0.5 wincertstore==0.2 wrapt @ file:///C:/Windows/Temp/abs_7c3dd407-1390-477a-b542-fd15df6a24085_diwiza/croots/recipe/wrapt_1657814452175/work xarray @ file:///opt/conda/conda-bld/xarray_1639166117697/work xgboost==1.7.5 xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work XlsxWriter @ file:///opt/conda/conda-bld/xlsxwriter_1649073856329/work xlwings @ file:///C:/b/abs_41rmpiyy58/croots/recipe/xlwings_1664932818417/work yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work yarl==1.9.4 yfinance==0.2.38 zict==2.1.0 zipp @ file:///C:/ci/zipp_1652273994994/work zope.interface @ file:///C:/ci/zope.interface_1625036252485/work Note: you may need to restart the kernel to use updated packages.

WARNING: Ignoring invalid distribution -rotobuf (c:\users\aly.rabia\anaconda3\lib\site-packages) WARNING: Ignoring invalid distribution -pencv-python (c:\users\aly.rabia\anaconda3\lib\site-packages)

In :

Hi @Ali_Rabie ,

The dependencies list seems to be missing the inference package - have you installed it? In order to run from inference import get_model you need to install either inference package or inference-gpu package

Grzegorz

It is already installed:
Note: you may need to restart the kernel to use updated packages.Collecting inference
Downloading inference-0.38.0-py3-none-any.whl (984 kB)
-------------------------------------- 984.5/984.5 kB 1.5 MB/s eta 0:00:00
Requirement already satisfied: httpx<0.28.0,>=0.25.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (0.27.0)
Requirement already satisfied: python-dotenv~=1.0.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (1.0.1)
Collecting setuptools>=70.0.0
Using cached setuptools-75.8.0-py3-none-any.whl (1.2 MB)
Collecting pybase64~=1.0.0
Using cached pybase64-1.0.2-cp39-cp39-win_amd64.whl (40 kB)
Requirement already satisfied: requests-toolbelt~=1.0.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (1.0.0)
Collecting slack-sdk~=3.33.4
Using cached slack_sdk-3.33.5-py2.py3-none-any.whl (292 kB)
Requirement already satisfied: pydantic~=2.6 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (2.7.0)
Requirement already satisfied: py-cpuinfo~=9.0.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (9.0.0)
Requirement already satisfied: aiohttp<=3.10.11,>=3.9.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (3.9.5)
Requirement already satisfied: tokenizers<=0.21.0,>=0.19.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (0.19.1)
Collecting networkx~=3.1
Using cached networkx-3.2.1-py3-none-any.whl (1.6 MB)
Collecting pydot~=2.0.0
Using cached pydot-2.0.0-py3-none-any.whl (22 kB)
Collecting pytest<9.0.0,>=8.0.0
Using cached pytest-8.3.4-py3-none-any.whl (343 kB)
Collecting paho-mqtt~=1.6.1
Using cached paho_mqtt-1.6.1-py3-none-any.whl
Collecting backoff~=2.2.0
Using cached backoff-2.2.1-py3-none-any.whl (15 kB)
Collecting nvidia-ml-py<13.0.0
Using cached nvidia_ml_py-12.570.86-py3-none-any.whl (44 kB)
Collecting wheel<=0.45.0,>=0.38.1
Using cached wheel-0.45.0-py3-none-any.whl (72 kB)
Collecting shapely<2.1.0,>=2.0.0
Using cached shapely-2.0.7-cp39-cp39-win_amd64.whl (1.4 MB)
Collecting fastapi<0.111,>=0.100
Using cached fastapi-0.110.3-py3-none-any.whl (91 kB)
Collecting zxing-cpp~=2.2.0
Using cached zxing_cpp-2.2.0-cp39-cp39-win_amd64.whl (689 kB)
Collecting APScheduler<4.0.0,>=3.10.1
Using cached APScheduler-3.11.0-py3-none-any.whl (64 kB)
Requirement already satisfied: typing_extensions<=4.12.2,>=4.8.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (4.11.0)
Collecting tldextract~=5.1.2
Using cached tldextract-5.1.3-py3-none-any.whl (104 kB)
Collecting rich~=13.0.0
Using cached rich-13.0.1-py3-none-any.whl (238 kB)
Requirement already satisfied: numpy<=1.26.4 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (1.24.4)
Collecting aiortc~=1.9.0
Using cached aiortc-1.9.0-cp38-abi3-win_amd64.whl (1.0 MB)
Requirement already satisfied: onnxruntime<1.20.0,>=1.15.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (1.19.2)
Requirement already satisfied: dataclasses-json~=0.6.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (0.6.5)
Requirement already satisfied: scikit-image<=0.24.0,>=0.19.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (0.19.2)
Requirement already satisfied: PyYAML~=6.0.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (6.0)
Collecting pymodbus<=3.8.3,>=3.6.9
Using cached pymodbus-3.8.3-py3-none-any.whl (160 kB)
Collecting openai<2.0.0,>=1.12.0
Downloading openai-1.63.2-py3-none-any.whl (472 kB)
------------------------------------ 472.3/472.3 kB 799.4 kB/s eta 0:00:00
Collecting redis~=5.0.0
Using cached redis-5.0.8-py3-none-any.whl (255 kB)
Collecting packaging~=24.0
Using cached packaging-24.2-py3-none-any.whl (65 kB)
Collecting anthropic~=0.34.2
Using cached anthropic-0.34.2-py3-none-any.whl (891 kB)
Requirement already satisfied: boto3<=1.35.60 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (1.24.28)
Requirement already satisfied: opencv-python<=4.10.0.84,>=4.8.1.78 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (4.10.0.84)
Collecting pylogix==1.0.5
Using cached pylogix-1.0.5-py2.py3-none-any.whl (75 kB)
Collecting twilio~=9.3.7
Using cached twilio-9.3.8-py2.py3-none-any.whl (1.8 MB)
Collecting prometheus-fastapi-instrumentator<=6.0.0
Using cached prometheus_fastapi_instrumentator-6.0.0-py3-none-any.whl (18 kB)
Collecting pydantic-settings~=2.2
Using cached pydantic_settings-2.7.1-py3-none-any.whl (29 kB)
Collecting opencv-contrib-python<=4.10.0.84,>=4.8.1.78
Using cached opencv_contrib_python-4.10.0.84-cp37-abi3-win_amd64.whl (45.5 MB)
Requirement already satisfied: pillow<11.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (10.4.0)
Requirement already satisfied: supervision<=0.30.0,>=0.25.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (0.25.1)
Collecting typer<=0.12.5,>=0.9.0
Using cached typer-0.12.5-py3-none-any.whl (47 kB)
Collecting pandas<2.3.0,>=2.0.0
Using cached pandas-2.2.3-cp39-cp39-win_amd64.whl (11.6 MB)
Collecting asyncua~=1.1.5
Using cached asyncua-1.1.5-py3-none-any.whl (774 kB)
Collecting structlog<25.0.0,>=24.1.0
Using cached structlog-24.4.0-py3-none-any.whl (67 kB)
Collecting docker<8.0.0,>=7.0.0
Using cached docker-7.1.0-py3-none-any.whl (147 kB)
Collecting cython~=3.0.0
Using cached Cython-3.0.12-cp39-cp39-win_amd64.whl (2.8 MB)
Requirement already satisfied: tqdm<5.0.0,>=4.0.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (4.64.1)
Requirement already satisfied: requests<3.0.0,>=2.32.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from inference) (2.32.3)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from aiohttp<=3.10.11,>=3.9.0->inference) (1.9.4)
Requirement already satisfied: async-timeout<5.0,>=4.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from aiohttp<=3.10.11,>=3.9.0->inference) (4.0.3)
Requirement already satisfied: aiosignal>=1.1.2 in c:\users\aly.rabia\anaconda3\lib\site-packages (from aiohttp<=3.10.11,>=3.9.0->inference) (1.3.1)
Requirement already satisfied: frozenlist>=1.1.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from aiohttp<=3.10.11,>=3.9.0->inference) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\aly.rabia\anaconda3\lib\site-packages (from aiohttp<=3.10.11,>=3.9.0->inference) (6.0.5)
Requirement already satisfied: attrs>=17.3.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from aiohttp<=3.10.11,>=3.9.0->inference) (21.4.0)
Collecting cryptography>=42.0.0
Using cached cryptography-44.0.1-cp39-abi3-win_amd64.whl (3.2 MB)
Collecting google-crc32c>=1.1
Using cached google_crc32c-1.6.0-cp39-cp39-win_amd64.whl (33 kB)
Collecting av<13.0.0,>=9.0.0
Using cached av-12.3.0-cp39-cp39-win_amd64.whl (26.0 MB)
Collecting aioice<1.0.0,>=0.9.0
Using cached aioice-0.9.0-py3-none-any.whl (24 kB)
Requirement already satisfied: cffi>=1.0.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from aiortc~=1.9.0->inference) (1.15.1)
Collecting pyee>=9.0.0
Using cached pyee-12.1.1-py3-none-any.whl (15 kB)
Collecting pylibsrtp>=0.10.0
Using cached pylibsrtp-0.11.0-cp39-abi3-win_amd64.whl (1.5 MB)
Collecting pyopenssl>=24.0.0
Using cached pyOpenSSL-25.0.0-py3-none-any.whl (56 kB)
Requirement already satisfied: sniffio in c:\users\aly.rabia\anaconda3\lib\site-packages (from anthropic~=0.34.2->inference) (1.2.0)
Collecting jiter<1,>=0.4.0
Using cached jiter-0.8.2-cp39-cp39-win_amd64.whl (207 kB)
Requirement already satisfied: anyio<5,>=3.5.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from anthropic~=0.34.2->inference) (3.5.0)
Requirement already satisfied: distro<2,>=1.7.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from anthropic~=0.34.2->inference) (1.9.0)
Collecting tzlocal>=3.0
Using cached tzlocal-5.3-py3-none-any.whl (17 kB)
Collecting aiosqlite
Using cached aiosqlite-0.21.0-py3-none-any.whl (15 kB)
Collecting aiofiles
Using cached aiofiles-24.1.0-py3-none-any.whl (15 kB)
Requirement already satisfied: sortedcontainers in c:\users\aly.rabia\anaconda3\lib\site-packages (from asyncua~=1.1.5->inference) (2.4.0)
Requirement already satisfied: python-dateutil in c:\users\aly.rabia\anaconda3\lib\site-packages (from asyncua~=1.1.5->inference) (2.8.2)
Requirement already satisfied: pytz in c:\users\aly.rabia\anaconda3\lib\site-packages (from asyncua~=1.1.5->inference) (2024.1)
Requirement already satisfied: botocore<1.28.0,>=1.27.28 in c:\users\aly.rabia\anaconda3\lib\site-packages (from boto3<=1.35.60->inference) (1.27.28)
Requirement already satisfied: s3transfer<0.7.0,>=0.6.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from boto3<=1.35.60->inference) (0.6.0)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from boto3<=1.35.60->inference) (0.10.0)
Requirement already satisfied: typing-inspect<1,>=0.4.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from dataclasses-json~=0.6.0->inference) (0.9.0)
Requirement already satisfied: marshmallow<4.0.0,>=3.18.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from dataclasses-json~=0.6.0->inference) (3.21.2)
Collecting pywin32>=304
Using cached pywin32-308-cp39-cp39-win_amd64.whl (6.6 MB)
Requirement already satisfied: urllib3>=1.26.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from docker<8.0.0,>=7.0.0->inference) (1.26.11)
Collecting starlette<0.38.0,>=0.37.2
Using cached starlette-0.37.2-py3-none-any.whl (71 kB)
Requirement already satisfied: idna in c:\users\aly.rabia\anaconda3\lib\site-packages (from httpx<0.28.0,>=0.25.1->inference) (3.7)
Requirement already satisfied: httpcore==1.* in c:\users\aly.rabia\anaconda3\lib\site-packages (from httpx<0.28.0,>=0.25.1->inference) (1.0.5)
Requirement already satisfied: certifi in c:\users\aly.rabia\anaconda3\lib\site-packages (from httpx<0.28.0,>=0.25.1->inference) (2022.9.14)
Requirement already satisfied: h11<0.15,>=0.13 in c:\users\aly.rabia\anaconda3\lib\site-packages (from httpcore==1.*->httpx<0.28.0,>=0.25.1->inference) (0.14.0)
Requirement already satisfied: sympy in c:\users\aly.rabia\anaconda3\lib\site-packages (from onnxruntime<1.20.0,>=1.15.1->inference) (1.10.1)
Requirement already satisfied: flatbuffers in c:\users\aly.rabia\anaconda3\lib\site-packages (from onnxruntime<1.20.0,>=1.15.1->inference) (22.10.26)
Requirement already satisfied: coloredlogs in c:\users\aly.rabia\anaconda3\lib\site-packages (from onnxruntime<1.20.0,>=1.15.1->inference) (15.0.1)
Requirement already satisfied: protobuf in c:\users\aly.rabia\anaconda3\lib\site-packages (from onnxruntime<1.20.0,>=1.15.1->inference) (5.29.3)
Requirement already satisfied: tzdata>=2022.7 in c:\users\aly.rabia\anaconda3\lib\site-packages (from pandas<2.3.0,>=2.0.0->inference) (2024.1)
Requirement already satisfied: prometheus-client<1.0.0,>=0.8.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from prometheus-fastapi-instrumentator<=6.0.0->inference) (0.14.1)
Requirement already satisfied: pydantic-core==2.18.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from pydantic~=2.6->inference) (2.18.1)
Requirement already satisfied: annotated-types>=0.4.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from pydantic~=2.6->inference) (0.6.0)
Requirement already satisfied: pyparsing>=3 in c:\users\aly.rabia\anaconda3\lib\site-packages (from pydot~=2.0.0->inference) (3.0.9)
Requirement already satisfied: iniconfig in c:\users\aly.rabia\anaconda3\lib\site-packages (from pytest<9.0.0,>=8.0.0->inference) (1.1.1)
Collecting exceptiongroup>=1.0.0rc8
Using cached exceptiongroup-1.2.2-py3-none-any.whl (16 kB)
Requirement already satisfied: tomli>=1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from pytest<9.0.0,>=8.0.0->inference) (2.0.1)
Collecting pluggy<2,>=1.5
Using cached pluggy-1.5.0-py3-none-any.whl (20 kB)
Requirement already satisfied: colorama in c:\users\aly.rabia\anaconda3\lib\site-packages (from pytest<9.0.0,>=8.0.0->inference) (0.4.5)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\aly.rabia\anaconda3\lib\site-packages (from requests<3.0.0,>=2.32.0->inference) (2.0.4)
Collecting commonmark<0.10.0,>=0.9.0
Using cached commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Requirement already satisfied: pygments<3.0.0,>=2.6.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from rich~=13.0.0->inference) (2.11.2)
Requirement already satisfied: scipy>=1.4.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from scikit-image<=0.24.0,>=0.19.0->inference) (1.13.1)
Requirement already satisfied: tifffile>=2019.7.26 in c:\users\aly.rabia\anaconda3\lib\site-packages (from scikit-image<=0.24.0,>=0.19.0->inference) (2021.7.2)
Requirement already satisfied: imageio>=2.4.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from scikit-image<=0.24.0,>=0.19.0->inference) (2.19.3)
Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from scikit-image<=0.24.0,>=0.19.0->inference) (1.3.0)
Requirement already satisfied: matplotlib>=3.6.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from supervision<=0.30.0,>=0.25.1->inference) (3.9.4)
Requirement already satisfied: contourpy>=1.0.7 in c:\users\aly.rabia\anaconda3\lib\site-packages (from supervision<=0.30.0,>=0.25.1->inference) (1.3.0)
Requirement already satisfied: defusedxml<0.8.0,>=0.7.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from supervision<=0.30.0,>=0.25.1->inference) (0.7.1)
Requirement already satisfied: filelock>=3.0.8 in c:\users\aly.rabia\anaconda3\lib\site-packages (from tldextract~=5.1.2->inference) (3.6.0)
Requirement already satisfied: requests-file>=1.4 in c:\users\aly.rabia\anaconda3\lib\site-packages (from tldextract~=5.1.2->inference) (1.5.1)
Requirement already satisfied: huggingface-hub<1.0,>=0.16.4 in c:\users\aly.rabia\anaconda3\lib\site-packages (from tokenizers<=0.21.0,>=0.19.0->inference) (0.23.0)
Collecting aiohttp-retry==2.8.3
Using cached aiohttp_retry-2.8.3-py3-none-any.whl (9.8 kB)
Requirement already satisfied: PyJWT<3.0.0,>=2.0.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from twilio~=9.3.7->inference) (2.4.0)
Requirement already satisfied: click>=8.0.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from typer<=0.12.5,>=0.9.0->inference) (8.0.4)
Collecting shellingham>=1.3.0
Using cached shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Collecting ifaddr>=0.2.0
Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting dnspython>=2.0.0
Using cached dnspython-2.7.0-py3-none-any.whl (313 kB)
Requirement already satisfied: pycparser in c:\users\aly.rabia\anaconda3\lib\site-packages (from cffi>=1.0.0->aiortc~=1.9.0->inference) (2.21)
Requirement already satisfied: fsspec>=2023.5.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from huggingface-hub<1.0,>=0.16.4->tokenizers<=0.21.0,>=0.19.0->inference) (2024.3.1)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from matplotlib>=3.6.0->supervision<=0.30.0,>=0.25.1->inference) (4.25.0)
Requirement already satisfied: importlib-resources>=3.2.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from matplotlib>=3.6.0->supervision<=0.30.0,>=0.25.1->inference) (6.5.2)
Requirement already satisfied: kiwisolver>=1.3.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from matplotlib>=3.6.0->supervision<=0.30.0,>=0.25.1->inference) (1.4.2)
Requirement already satisfied: cycler>=0.10 in c:\users\aly.rabia\anaconda3\lib\site-packages (from matplotlib>=3.6.0->supervision<=0.30.0,>=0.25.1->inference) (0.11.0)
Requirement already satisfied: six>=1.5 in c:\users\aly.rabia\anaconda3\lib\site-packages (from python-dateutil->asyncua~=1.1.5->inference) (1.16.0)
Requirement already satisfied: mypy-extensions>=0.3.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from typing-inspect<1,>=0.4.0->dataclasses-json~=0.6.0->inference) (0.4.3)
Requirement already satisfied: humanfriendly>=9.1 in c:\users\aly.rabia\anaconda3\lib\site-packages (from coloredlogs->onnxruntime<1.20.0,>=1.15.1->inference) (10.0)
Requirement already satisfied: mpmath>=0.19 in c:\users\aly.rabia\anaconda3\lib\site-packages (from sympy->onnxruntime<1.20.0,>=1.15.1->inference) (1.2.1)
Requirement already satisfied: pyreadline3 in c:\users\aly.rabia\anaconda3\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime<1.20.0,>=1.15.1->inference) (3.5.4)
Requirement already satisfied: zipp>=3.1.0 in c:\users\aly.rabia\anaconda3\lib\site-packages (from importlib-resources>=3.2.0->matplotlib>=3.6.0->supervision<=0.30.0,>=0.25.1->inference) (3.8.0)
Installing collected packages: pywin32, pylogix, paho-mqtt, nvidia-ml-py, ifaddr, commonmark, zxing-cpp, wheel, tzlocal, structlog, slack-sdk, shellingham, shapely, setuptools, rich, redis, pymodbus, pyee, pydot, pybase64, pluggy, packaging, opencv-contrib-python, networkx, jiter, google-crc32c, exceptiongroup, dnspython, cython, backoff, av, aiosqlite, aiofiles, typer, starlette, pytest, pylibsrtp, pandas, docker, cryptography, APScheduler, aioice, tldextract, pyopenssl, pydantic-settings, openai, fastapi, aiohttp-retry, twilio, prometheus-fastapi-instrumentator, asyncua, anthropic, aiortc, inference
Attempting uninstall: pywin32
Found existing installation: pywin32 302
Uninstalling pywin32-302:
Successfully uninstalled pywin32-302
Rolling back uninstall of pywin32
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages_pycache_\pythoncom.cpython-39.pyc
from C:\Users\aly.rabia\AppData\Local\Temp\pip-uninstall-rs49sy4s\pythoncom.cpython-39.pyc
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages\adodbapi
from C:\Users\aly.rabia\Anaconda3\Lib\site-packages~dodbapi
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages\isapi
from C:\Users\aly.rabia\Anaconda3\Lib\site-packages~sapi
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages\pythoncom.py
from C:\Users\aly.rabia\AppData\Local\Temp\pip-uninstall-nhgemvc3\pythoncom.py
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages\pythonwin
from C:\Users\aly.rabia\Anaconda3\Lib\site-packages~ythonwin
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages\pywin32-302-py3.9.egg-info
from C:\Users\aly.rabia\Anaconda3\Lib\site-packages~ywin32-302-py3.9.egg-info
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages\win32\lib
from C:\Users\aly.rabia\Anaconda3\Lib\site-packages\win32~ib
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages\win32com
from C:\Users\aly.rabia\Anaconda3\Lib\site-packages~in32com
Moving to c:\users\aly.rabia\anaconda3\lib\site-packages\win32comext
from C:\Users\aly.rabia\Anaconda3\Lib\site-packages~in32comext

WARNING: Ignoring invalid distribution -rotobuf (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\aly.rabia\anaconda3\lib\site-packages)
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: ‘C:\Users\aly.rabia\Anaconda3\Lib\site-packages\win32\_win32sysloader.pyd’
Consider using the --user option or check the permissions.

WARNING: Ignoring invalid distribution -rotobuf (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -rotobuf (c:\users\aly.rabia\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -pencv-python (c:\users\aly.rabia\anaconda3\lib\site-packages)

OK, I could not see inference in the output of pip freeze, also the error message suggests inference package is not installed.

Can you please post the full output of below:

conda list | grep inference
python -c "from inference import get_model"

Thanks,