community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE

Python SDK: Cannot import module 'AlteryxPythonSDK'

Meteor

I am trying to build an app that will use a custom python tool that I'm trying to make with the sdk. I created a venv in the directory that I have my Gui, config, and engine files. As a test, I started python in the command prompt to make sure i am running the miniconda version that I need. When I do this, I see:

 

Python 3.6.0 |Continuum Analytics, Inc.| (default, Dec 23 2016, 11:57:41) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

 

So far, this all looks good. However, when i do:

import AlteryxPythonSDK as Sdk

 

I get the error:

ModuleNotFoundError: No module named 'AlteryxPythonSDK'

 

Is this supposed to happen? I suspect that I need to use the:

class AyxPlugin:

 

that I see in all other examples to get it to work but am not 100% sure on this. Anyone able to offer some clarification?

Alteryx Certified Partner
Alteryx Certified Partner

Hi @g_rose,

 

I can't give you a solution but this may sit better in the 'dev space': https://community.alteryx.com/t5/Dev-Space/bd-p/developer-discussions

 

Ben

Meteor

Thanks. I'll x-post it there.

Labels