Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Alteryx Python SDK Macro

mike_m_12
6 - Meteoroid

Hi All,

 

I was wondering how I would create a python macro for alteryx. I've pip installed both ayx-python-sdk and ayx-plugin-cli and created an alteryx workspace with the "ayx_plugin_cli sdk-workspace-init" command. It successfully created a workspace and generated the backend folder, configuration folder, and ayx_workspace.json but when I create a main.py in the backend folder and try to run "from ayx import Alteryx" I get the error "ayx could not be resolved". Not sure if I'm missing something - maybe it's my IDE because I'm using vscode? Any help would be greatly appreciated.

1 REPLY 1
caltang
17 - Castor
17 - Castor

Publishing here would be better: https://community.alteryx.com/t5/Alteryx-IO-Discussions/bd-p/discussions-io

 

That forum is specially for SDKs discussions. Hope this helps!

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors