# Running with anaconda envirement having error

**URL:** <https://discuss.roboflow.com/t/running-with-anaconda-envirement-having-error/5721>\
**Category:** 🤝  Community Help\
**Created:** [May 10, 2024, 7:40am UTC](https://discuss.roboflow.com/t/running-with-anaconda-envirement-having-error/5721 "2024-05-10T07:40:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![진현\_양](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/%EC%A7%84%ED%98%84_%EC%96%91/32/4497_2.png) [@진현\_양](https://discuss.roboflow.com/u/%EC%A7%84%ED%98%84_%EC%96%91)\
**Post date:** [May 10, 2024, 7:40am UTC](https://discuss.roboflow.com/t/running-with-anaconda-envirement-having-error/5721/1 "2024-05-10T07:40:49Z")

</div>

_Describe your question/issue here! (delete this when you post)_

- **Project Type:**
- **Operating System & Browser:**
- **Project Universe Link or Workspace/Project ID:**  
Hello, I want to using roboflow model in anaconda envirement(python)  
and just used provided code

```auto
from inference import InferencePipeline
# import VideoFrame for type hinting
from inference.core.interfaces.camera.entities import VideoFrame

# define sink function
def my_custom_sink(predictions: dict, video_frame: VideoFrame):
    # print the frame ID of the video_frame object
    print(f"Frame ID: {video_frame.frame_id}")

pipeline = InferencePipeline.init(
    model_id="yolov8x-1280",
    video_reference="https://storage.googleapis.com/com-roboflow-marketing/inference/people-walking.mp4",
    on_prediction=my_custom_sink,
)

pipeline.start()
pipeline.join()

```

But an error occurred.  
[SupervisionWarnings: **call** is deprecated. `FPSMonitor. __call__ ` is deprecated and will be removed in `supervision-0.22.0`. Use `FPSMonitor.fps` instead.]  
I did `pip install --upgrade supervision` and it succeeded normally.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [May 31, 2024, 7:41am UTC](https://discuss.roboflow.com/t/running-with-anaconda-envirement-having-error/5721/2 "2024-05-31T07:41:08Z")

</div>

Closed on May 31, 2024, 7:41am UTC

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
