I have packaged a Python tool as a .yxi and can successfully install it on my machine, where Alteryx 2018.2 is installed for all users (Admin Install). At a colleague's machine, however, the installation fails. There is only a window containing "Exception:" without any further (visible or readable) details.
Creating the virtual environment manually in the command line and installing everything through pip works fine. And the tool is available and working after that as well - it is only the YXI that is not working on his machine.
The only other thing I can add is that I cannot active the virtual environment in the PowerShell as the .ps1 file cannot be used without admin privileges. The activate.exe is not available in his environment, but the activate.bat works without problems.
Without any error messages I cannot really pin down the problem, but would assume that it has something to do with the Non-Admin install. Did anyone run into similar problems or knows a way to get more info out of Alteryx on what exactly the problem is?
Solved! Go to Solution.
There is a minimum example attached. The yxi is working fine for me (Admin install), but doesn't work for my colleague (Non-Admin install, same version 2018.2). Just an error "Exception" without any further details.
Is there any log file where I can try to follow-up on the error?
Yes, and I should clarify: I am getting this issue with an Admin install on my machine. So I am not entirely sure it is limited to the Non-Admin install.
Looking into this, will provide an update once we know something.
Thanks for reporting it!
Yes, this very much looks like the same issue.
Not sure if this is the only issue. Might be related, but I'm certainly able to create the venv manually without errors. That's my current workaround at least.
Sorry, I retract my previous statement. I tried to reproduce the error through the command line and if I try to update pip I indeed get the same error. So, I guess you are right, that this is indeed a problem with pip.
Is there, nevertheless, a chance that we see a fix for this error? Otherwise, it's nearly impossible to automatically install Python SDK tools on other machines that have long path names especially if it is non-admin installations.