# Error trying to run python script

**URL:** <https://forum.electroneek.com/t/error-trying-to-run-python-script/3715>\
**Category:** Studio Pro\
**Tags:** python\
**Created:** [March 5, 2024, 8:30pm UTC](https://forum.electroneek.com/t/error-trying-to-run-python-script/3715 "2024-03-05T20:30:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![a.polianskii](https://forum.electroneek.com/user_avatar/forum.electroneek.com/a.polianskii/32/1683_2.png) [@a.polianskii](https://forum.electroneek.com/u/a.polianskii)\
**Post date:** [March 7, 2024, 4:27pm UTC](https://forum.electroneek.com/t/error-trying-to-run-python-script/3715/2 "2024-03-07T16:27:23Z")

</div>

Hi @Oscar_Gonzalez ,

Seems like you have a problem in the configuration. Have you installed Python and added the Python to the PATH system variable as described in the [requirements](https://docs.electroneek.com/docs/others#requirements)?

Also check that you have set up a venv folder correctly:

1. `python -m virtualenv "C:\PythonEnv_ElectroNeek"`
2. `"C:\PythonEnv_ElectroNeek\Scripts\activate"`
3. `pip install docxtpl`

You can try to use the next project as an example as it works correct - [PythonTest.zip](https://forum.electroneek.com/uploads/short-url/qNPTjOTeiHT6GDAfogdnPRl2Vpa.zip) (2.5 KB)

---

_[View the full topic](https://forum.electroneek.com/t/error-trying-to-run-python-script/3715)._
