10-23-2018 09:19 AM - edited 07-23-2021 05:22 PM
Sometimes, to analyze and troubleshoot installation issues for Python based tools, you may need more information than the messages populated in the tool installer window.
Fortunately, aspip is used in the background duringinstallation, there are two complementary options are available :
These parameters can be set up through a configuration file: pip.ini
For reference:https://pip.pypa.io/en/latest/user_guide/#config-file
1. Choose a root folder:
%PROGRAMDATA% for all users on the machine
%APPDATA% for current user
2. Create a folder namedpip (example: C:\ProgramData\pip or C:\users\me\AppData\Roaming\pip)
3. Inpip folder, create a file calledpip.ini
4. Edit pip.ini with the following:
[global] verbose = yes log = C:\ProgramData\Alteryx\Engine\pip_log.txt
[global] is case sensitive
verbose specifies that output should contain more details.
log is thepath of the file that will contain all the messages generated by pip
5. Install your YXI file as usual
6. [optional but recommended] Rename pip.ini to pip.ini.old when you are done!
Only enable logs for support/debugging purpose!
Great post @PaulN, great Tips for troubleshooting!