Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Python Tool: Error importing os


When trying to run the Python Tool in Alteryx, I need to import os in my python script and when I try to do so it says os is not found.  The error that comes up is:

Could not find a version that satisfies the requirement os (from versions: )
No matching distribution found for os

 This error happens when I use the prompt Package.installPackages(['pandas','os']) in the executable.  I was wondering if anybody knew of a way to properly import os into the Python Tool in Alteryx.




Hi @mnewhard 


The OS module is part of the standard library that installs with python. You should be able to use it without having to install.


Go ahead and type:


import os


Then the rest of your code following should be all set