Dev Space

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

General Discussions has some can't miss conversations going on right now! From conversations about automation to sharing your favorite Alteryx memes, there's something for everyone. Make it part of your community routine!


Python SDK importing custom modules

7 - Meteor

I have an custom tool whose 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 but when running the tool in alteryx I get the import Error.

How do I resolve this?





Alteryx Community Team
Alteryx Community Team

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

7 - Meteor

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

5 - Atom

Hello Guys,


Could you elaborate a bit how the Salesforce tool works exactly when it comes to importing custom modules?