Custom Tool SDK Problem
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Stummschalten
- Drucker-Anzeigeseite
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
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 😀
Gelöst! Gehe zu Lösung.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
Did you add the openai library to your requirements-thirdparty.txt?
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Moderator informieren
I did not, thank you 😅