Welcome to the Alteryx Knowledge Base

How to install Python packages via command prompt
user

Created/Edited - 4/14/2026 by Ashley Billanes | Alteryx

How To

Install Python packages via the command line for Administrators or Power Users.

Environment

Alteryx Designer 21.4 and above

Prerequisites

Please ensure that Designer is closed before proceeding.

Procedure

Note: In the below examples, we will be using the XlsxWriter Python package. Please ensure that Designer is closed before proceeding.

 

Online Installation

In your command prompt with admin access, perform the following:

  1. Navigate to the following directory
      1. 25.1+
        cd "C:\Program Files\Alteryx\bin\Python\envs\DesignerBaseTools_vEnv\Scripts" 
      2.  24.2
        cd "C:\Program Files\Alteryx\bin\Miniconda3\Scripts" 
  2. Activate DesignerBaseTools_venv
    activate DesignerBaseTools_vEnv
  3. Navigate to the next directory to prep for installation:
    1. 25.1+ - No action needed
    2. 24.2
    cd "C:\Program Files\Alteryx\bin\Miniconda3\envs\DesignerBaseTools_vEnv\Scripts"
  4. In the same command prompt window, install the Python package. The syntax is: 
    pip install <Package to install>

     

Offline Installation

  1. Download the Python package/s from https://pypi.org/
  2. In your command prompt with admin access, perform the following:
    1. Follow the steps for Online Installation Step #1 above    

In the below example, the XlsxWriter package is located in C:\Python\ folder:

         

 

Running the pip install command: 

pip install --no-index --find-links=file:///C:/Python/ XlsxWriter

 

Additional Information
Was this article helpful?