# Error while loading data into python

**URL:** <https://forum.knime.com/t/error-while-loading-data-into-python/34874>\
**Category:** KNIME Extensions\
**Tags:** scripting\
**Created:** [July 23, 2021, 11:37am UTC](https://forum.knime.com/t/error-while-loading-data-into-python/34874 "2021-07-23T11:37:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lptolik](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/l/8491ac/32.png) [@lptolik](https://forum.knime.com/u/lptolik)\
**Post date:** [July 23, 2021, 11:37am UTC](https://forum.knime.com/t/error-while-loading-data-into-python/34874/1 "2021-07-23T11:37:51Z")

</div>

Hi, I recently migrated from python 3.6 to 3.8 and my python script nodes start to fail with the error message:

> ERROR Python Script 12:168:0:23 Execute failed: ‘tolerances’

when I open script editor it shows “Error while loading data into python” message and fail to execute any line of script with ‘tolerances’ message within execution console.

Please help! It all works before.

---

<div class="post-metadata">

**Author:** ![JanDuo](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/j/8baadc/32.png) [@JanDuo](https://forum.knime.com/u/JanDuo)\
**Post date:** [July 23, 2021, 12:32pm UTC](https://forum.knime.com/t/error-while-loading-data-into-python/34874/2 "2021-07-23T12:32:53Z")

</div>

Hi @lptolik

As far as I understand KNIME requires a specific version of Python, being 3.6. For that reason they use Conda to make a specific Python environment with a specific minimum set of packages with the correct versions, so all the default nodes for Python will work properly.  
If you look at the [KNIME Python Integration Guide](https://docs.knime.com/latest/python_installation_guide/index.html#_introduction) you see how to achieve this.

And if you want to use something specific of Python 3.8 within KNIME I wouldn’t know whether that is already possible.

---

<div class="post-metadata">

**Author:** ![lptolik](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/l/8491ac/32.png) [@lptolik](https://forum.knime.com/u/lptolik)\
**Post date:** [July 23, 2021, 12:34pm UTC](https://forum.knime.com/t/error-while-loading-data-into-python/34874/3 "2021-07-23T12:34:56Z")

</div>

Thank you, I thought that 3.6 is quite obsolete.

---

<div class="post-metadata">

**Author:** ![JanDuo](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/j/8baadc/32.png) [@JanDuo](https://forum.knime.com/u/JanDuo)\
**Post date:** [July 23, 2021, 12:36pm UTC](https://forum.knime.com/t/error-while-loading-data-into-python/34874/4 "2021-07-23T12:36:47Z")

</div>

> [@lptolik](#):
>
> quite obsolete

maybe a KNIME team member can comment on that 🙂

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 2, 2023, 9:27pm UTC](https://forum.knime.com/t/error-while-loading-data-into-python/34874/5 "2023-06-02T21:27:24Z")

</div>

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