# Error from 'warnings' module in workflow code in python-sdk

**URL:** <https://community.temporal.io/t/error-from-warnings-module-in-workflow-code-in-python-sdk/12414>\
**Category:** Community Support\
**Tags:** python-sdk\
**Created:** [June 7, 2024, 1:48pm UTC](https://community.temporal.io/t/error-from-warnings-module-in-workflow-code-in-python-sdk/12414 "2024-06-07T13:48:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Amitai\_Levy](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/amitai_levy/32/5137_2.png) [@Amitai\_Levy](https://community.temporal.io/u/Amitai_Levy)\
**Post date:** [June 9, 2024, 10:50am UTC](https://community.temporal.io/t/error-from-warnings-module-in-workflow-code-in-python-sdk/12414/3 "2024-06-09T10:50:12Z")

</div>

Python SDK version is 1.6.0.

I struggled to reproduce the example, for some reason it isn’t reproducing when I simplify the workflow. It still reproduces in my bigger application. I may have time to get back to it later this week.  
I also noticed that in this [previous thread](https://community.temporal.io/t/error-when-debugging-workflow-using-vscode-python-debugger/11860) I opened, and in this [linked github issue](https://github.com/temporalio/sdk-python/issues/238) the error is very similar, so maybe related.  
I also didn’t exactly understand what you meant with your suggestion to try and workaround - do you mean to import scipy or warnings in the “run\_worker” file which creates the workflow?  
Thanks

---

_[View the full topic](https://community.temporal.io/t/error-from-warnings-module-in-workflow-code-in-python-sdk/12414)._
