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

Dev Space

Customize & extend the power of Alteryx. SDKs, APIs, custom tools, and more!
SOLVED

Python SDK importing custom modules

I have an custom tool whose Engine.py file depends on several other python files. Just to avoid clutter in the main one.

I have placed the other modules in same directory as Engine.py but when running the tool in alteryx I get the import Error.

How do I resolve this?

 

 

 

 

Sr. Community Content Manager
Sr. Community Content Manager

Check out the code behind the latest Salesforce Input tool, available for download here. It accomplishes what you're trying to do.

So it was all about creating a virtual environment. It worked perfectly thanks.