Custom Tool SDK Problem
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello guys, I'm having trouble importing openai library into my plugin. When i run my plugin with the sdk-cli test commands the openai library works and i get my results. But when i try installing the .yxi into designer after creating it i get these errors:
1. If i put the library import openai like in the first picture(cause1) i get the error in the second picture(error1)
2. If i put the library import openai like in the third picture(cause2) i get the error in the fourth picture(error2)
After installing the plugin into the designer, I've tried unzipping the main.pyz file from the Roaming/Alteryx/Tools/MyPlugin folder and there is no openai library present in the site-packages folder at all.(both examples)
Any help?
Thanks in advance 😀
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Did you add the openai library to your requirements-thirdparty.txt?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I did not, thank you 😅
