Hi,
I want to run my alteryx workflow on the server which has python inside.
This runs fine on my designer. But when I run on server it does not work.
I suspect i tis because the server cannot access my local files.
I have one line that access my local drive,
xlrd = Alteryx.importPythonModule("C:\\Users\\louis\\.conda\\envs\\Python\\Lib\\site-packages\\xlrd")
I get this error:
"Unable to import module -- file does not exist ({})".format(path) 245 print(msg) --> 246 raise ImportError(msg) 247 # get containing directory and module name 248 self.containing_dir = os.path.dirname(self.path) ImportError: Unable to import module -- file does not exist (C:\Users\louis\.conda\envs\Python\Lib\site-packages\xlrd) (Tool Id: 1)
Is there anyway to alter this code so it imports the python module from the server successfully?