# Python Plugin - Now Available as Open Source

**URL:** <https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51>\
**Category:** Ecosystem\
**Tags:** python, open-source, plugin\
**Created:** [October 20, 2020, 5:15pm UTC](https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51 "2020-10-20T17:15:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [October 20, 2020, 5:15pm UTC](https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51/1 "2020-10-20T17:15:18Z")

</div>

For those that aren’t aware, we’ve recently move our Python plugin to open source. You can find it here:

> **[Projects · OpenTAP / Plugins / python](https://gitlab.com/OpenTAP/Plugins/python)**
>
> OpenTAP Python Integration

Has anyone used this? What are your thoughts on it compared to the C# SDK?

---

<div class="post-metadata">

**Author:** ![LXuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/lxuser/32/145_2.png) [@LXuser](https://forum.opentap.io/u/LXuser)\
**Post date:** [October 22, 2020, 11:28am UTC](https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51/2 "2020-10-22T11:28:20Z")

</div>

Hello,  
i installed the Phytion plugin which comes up with a new entry in the Test Steps window.  
After addding the Test Plan examples available in the Phytion section the log in editor displays:

> 13:26:07.404 Serializer XML Line 4: Unable to locate type ‘Python.PluginExample.ChargeStep’. Are you missing a plugin?  
> 13:26:07.404 Serializer XML Line 14: Unable to locate type ‘Python.PluginExample.DischargeStep’. Are you missing a plugin?  
> 13:26:07.404 Serializer XML Line 24: Unable to locate type ‘Python.PluginExample.BasicFunctionality’. Are you missing a plugin?  
> 13:26:07.404 Serializer XML Line 33: Unable to locate type ‘Python.PluginExample.ErrorExample’. Are you missing a plugin?  
> 13:26:07.405 Serializer XML Line 4: Unable to locate type ‘Python.PluginExample.ChargeStep’. Are you missing a plugin?  
> 13:26:07.405 Serializer XML Line 14: Unable to locate type ‘Python.PluginExample.DischargeStep’. Are you missing a plugin?  
> 13:26:07.405 Serializer XML Line 24: Unable to locate type ‘Python.PluginExample.BasicFunctionality’. Are you missing a plugin?  
> 13:26:07.405 Serializer XML Line 33: Unable to locate type ‘Python.PluginExample.ErrorExample’. Are you missing a plugin?

The desciption of the Phyton plugin says: “OpenTAP Python SDK plugin. This plugin includes all tools, examples, and documentation to develop OpenTAP plugins using Python.”

So not sure what addidional plugin i need to install?

best regards  
JG

---

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [October 22, 2020, 2:27pm UTC](https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51/3 "2020-10-22T14:27:20Z")

</div>

The one thing this plugin does not install is Python itself as it allows you to use whatever version you prefer (including things like Anaconda). A couple things to verify:  
Make sure the Python Path is set correctly in Settings \> Python \> Python Path

Also rather than trying to open a Test Plan, try adding one of the individual Test Steps from Python Example \> Battery Test. That will give a more specific error.

---

<div class="post-metadata">

**Author:** ![LXuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/lxuser/32/145_2.png) [@LXuser](https://forum.opentap.io/u/LXuser)\
**Post date:** [October 23, 2020, 11:30am UTC](https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51/4 "2020-10-23T11:30:55Z")

</div>

I only see the subsection “Test Plans” here - nothing with Examples.  
 ![Phyton](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/b300d8ae82c7b9c64193c8242401d72bb0d4831f.jpeg)

---

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [October 23, 2020, 1:36pm UTC](https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51/5 "2020-10-23T13:36:28Z")

</div>

Ah, you will need to build the examples first:

> <https://gitlab.com/OpenTAP/Plugins/python/-/blob/master/Documentation/TAP%20Python%20Help/Python%20Development%20Examples/Building%20the%20Python%20Examples%20for%20Windows.md>

---

<div class="post-metadata">

**Author:** ![brennen\_direnzo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/brennen_direnzo/32/6_2.png) [@brennen\_direnzo](https://forum.opentap.io/u/brennen_direnzo)\
**Post date:** [February 9, 2021, 7:36am UTC](https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51/6 "2021-02-09T07:36:00Z")

</div>

Some more background on how we ended up with the Python plugin:  
[https://blog.opentap.io/the-python-plugin/](https://blog.opentap.io/the-python-plugin/)

---

<div class="post-metadata">

**Author:** ![jeff.dralla](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opentap.io/jeff.dralla/32/220_2.png) [@jeff.dralla](https://forum.opentap.io/u/jeff.dralla)\
**Post date:** [February 9, 2021, 9:24am UTC](https://forum.opentap.io/t/python-plugin-now-available-as-open-source/51/7 "2021-02-09T09:24:30Z")

</div>

And straight to the vid for those impatient types! [https://youtu.be/WxPn83N1HFQ](https://youtu.be/WxPn83N1HFQ)
