Issue
Trying to install a Python library
pandas-dedupe in the Alteryx Jupiter notebook interface.
Tried both
- 'from ayx import Package Package.installPackages(['pandas-dedupe'])'
- 'from ayx import Alteryx Alteryx.installPackages(['pandas-dedupe'])
The following error is shown in the stack trace:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
Environment Details
- Alteryx Designer
- Python Tool
Cause
As error message indicates, the libraries are included in Microsoft Visual C++ 14.0 and above.
Resolution
- Download Microsoft C++ Build Tools
- Execute the installer and select the following to install
- Once installed, launch Designer and add Python Tool
- Uncomment and complete Package.installPackages(['pandas-dedupe'])
Additional Resources