# Running Python Script Gives Error

**URL:** <https://forum.knime.com/t/running-python-script-gives-error/14517>\
**Category:** KNIME Analytics Platform\
**Created:** [March 24, 2019, 3:50pm UTC](https://forum.knime.com/t/running-python-script-gives-error/14517 "2019-03-24T15:50:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [March 24, 2019, 4:25pm UTC](https://forum.knime.com/t/running-python-script-gives-error/14517/2 "2019-03-24T16:25:10Z")

</div>

Question is what kind of output you would expect. KNIME and Python would typically have three generic outputs

1. data manipulations etc using Python
2. build prediction models and save them
3. use graphic packages like seaborn and export graphics (as PNG)

I modified an earlier example to show all three (if you just save results from Python you might use much more), and also there is the ability to integrate Jupyter notebooks in KNIME.

 ![image](https://forum-cdn.knime.com/uploads/default/original/2X/b/b2dd808066b81313085ceec16dfd2503aaa0e700.png)

[kn\_example\_python\_logistic\_regression\_iris\_graphic.knwf](https://forum-cdn.knime.com/uploads/default/original/2X/6/6196a2d8aad5147424a39de1f9fea85494ec9e3d.knwf) (259.7 KB)

——  
Edit: [KNIME and Python — Setting up and managing Conda environments | by Markus Lauber | Low Code for Data Science | Medium](https://medium.com/low-code-for-advanced-data-science/knime-and-python-setting-up-and-managing-conda-environments-2ac217792539)

---

_[View the full topic](https://forum.knime.com/t/running-python-script-gives-error/14517)._
