# How to use Python SDK

**URL:** <https://forum.opentap.io/t/how-to-use-python-sdk/1099>\
**Category:** General\
**Created:** [April 12, 2023, 8:45am UTC](https://forum.opentap.io/t/how-to-use-python-sdk/1099 "2023-04-12T08:45:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![roz11](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@roz11](https://forum.opentap.io/u/roz11)\
**Post date:** [April 12, 2023, 8:45am UTC](https://forum.opentap.io/t/how-to-use-python-sdk/1099/1 "2023-04-12T08:45:08Z")

</div>

My environment: windows 10, python 3.11, opentap 9.10.4, python 3.0.2 rc3

when I create python project use".\tap python new-project --project-name “LabVIEW” --directory “D:\Program Files\OpenTAP\Packages\Labview” cmd, tap feed back as below  
(venv) PS D:\Program Files\OpenTAP\> .\tap python new-project --project-name “LabVIEW” --directory “D:\Program Files\OpenTAP\Packages\Labview”  
No Python installations found.

and I can’t import any opentap releated library

 ![20230412164547](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/23c8cef6bd4a7dc2b7adc488780a0e899029caf7.png)

How can I config python SDK to make it ready to use? thanks.

---

<div class="post-metadata">

**Author:** ![sebastian.pop.v](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@sebastian.pop.v](https://forum.opentap.io/u/sebastian.pop.v)\
**Post date:** [April 12, 2023, 11:37am UTC](https://forum.opentap.io/t/how-to-use-python-sdk/1099/2 "2023-04-12T11:37:51Z")

</div>

Hi @roz11

I think you should update your OpenTAP version. For the Python plugin, the minimum supported version of OpenTAP is 9.18.3 but you can go all the way up to the latest 9.20.4

---

<div class="post-metadata">

**Author:** ![roz11](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@roz11](https://forum.opentap.io/u/roz11)\
**Post date:** [April 13, 2023, 2:18am UTC](https://forum.opentap.io/t/how-to-use-python-sdk/1099/3 "2023-04-13T02:18:45Z")

</div>

thanks for your response, my OpenTAP installer version is 9.20.4, seem this is not the cause

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [April 13, 2023, 12:58pm UTC](https://forum.opentap.io/t/how-to-use-python-sdk/1099/4 "2023-04-13T12:58:17Z")

</div>

Hi @roz11,

How did you install Python? If it is in a non-standard location the plugin can have trouble finding it.

---

<div class="post-metadata">

**Author:** ![roz11](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@roz11](https://forum.opentap.io/u/roz11)\
**Post date:** [April 14, 2023, 1:25am UTC](https://forum.opentap.io/t/how-to-use-python-sdk/1099/5 "2023-04-14T01:25:36Z")

</div>

I installed python to driver “D”, which seems not an standard location, right?

But I have specifed python path to my virtual environment script folder following “[link](https://github.com/opentap/OpenTap.Python/blob/dev/Documentation/TAP_Python_Help/Virtual_Environments.md)”

---

<div class="post-metadata">

**Author:** ![rolf\_madsen](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@rolf\_madsen](https://forum.opentap.io/u/rolf_madsen)\
**Post date:** [April 14, 2023, 2:48pm UTC](https://forum.opentap.io/t/how-to-use-python-sdk/1099/6 "2023-04-14T14:48:44Z")

</div>

Ok, that sounds like it should be ok.

Are you using 64 bit python and 64 bit OpenTAP together? Or what kind of configuration do you have there?

---

<div class="post-metadata">

**Author:** ![roz11](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@roz11](https://forum.opentap.io/u/roz11)\
**Post date:** [April 17, 2023, 1:31am UTC](https://forum.opentap.io/t/how-to-use-python-sdk/1099/7 "2023-04-17T01:31:11Z")

</div>

Yep, my python is 64 bit, version is 3.11.1, but I don’t konw whether OpenTAP is 64bit or 32bit. I install OpenTAP from below link.  
[https://packages.opentap.io/4.0/Objects/www/OpenTAP.exe?format=full](https://packages.opentap.io/4.0/Objects/www/OpenTAP.exe?format=full)

And attach my detial installation step.

1. download & install OpenTAP from official website
2. install some plugin from cli using “tap package install xxx”  
here are what I have installed  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/opentap/original/1X/35ce2fa676c4d9a8d4bcaff0e13d0e095655fca0.png)
3. set python path using " tap python set-path my-python-install-folder"
4. creating plugin using 'tap python new-project --project-name “project name” --directory “OpenTAP\Packages\project” ’
5. open python file in pycharm, IDE tips can’t find opentap releated library.
