Alteryx Designer Knowledge Base

Definitive answers from Designer experts.

Install Python packages via command prompt

TessaS
Alteryx
Alteryx
Created

 

Python packages can be installed via the Python tool in Designer however some users may prefer to install via the command line. To install Python packages via the command line, first close Designer and then open a command prompt as an administrator. 

Follow the instructions below for whichever version of Designer you are using.

For 2019.3+
Activate JupyterTool_venv:

  1. cd "C:\Program Files\Alteryx\bin\Miniconda3\Scripts"
  2. activate JupyterTool_venv 
  3. cd "C:\Program Files\Alteryx\bin\Miniconda3\envs\JupyterTool_vEnv\Scripts" 
  4. pip install <packagetoinstall>

 

For 2018.3 to 2019.2

  1. cd "C:\Program Files\Alteryx\bin\Miniconda3\PythonTool_venv\Scripts" in the command line.
  2. activate.bat
  3. pip install <packagetoinstall>

 

No ratings
Comments
tonyzhu
6 - Meteoroid

Thanks for this post! It is very help for people like me who prefer using command line.

 

Just a quick question, can i assume this is the same when installing on Alteryx server (workers) etc. 

 

Regards,

Tony

aamclendon
5 - Atom

   

Chris86
8 - Asteroid

Wanted to provide an update. For 2021.2 the following is the updated code.

 

cd "C:\Program Files\Alteryx\bin\Miniconda3\Scripts"

activate DesignerBaseTools_vEnv

cd "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_vEnv\Scripts"

pip install --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org selenium[package name]