Alteryx designer Discussions

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

Python module error only when trying to run on gallery

I have been running a workflow on Alteryx Designer successfully for awhile now, using the Python tool where I import the extract_msg module. However when I try to run this on the gallery, it keeps giving an error while trying to import the module. Has anyone faced this issue/found a solution? Any help would be greatly appreciated!!  ModuleNotFoundError Traceback  3 import extract_msg  5 ModuleNotFoundError: No module named 'extract_msg' (Tool Id: 11)

Have you installed the extract_msg package in the Python tool on the server? You will have to run a workflow on your server with a python tool that runs the Alteryx install packages command (even if you've already installed it locally. In my experience the gallery won't automatically add a Python module when you upload the workflow.)