Welcome to the Alteryx Knowledge Base

Python-based Tool and Unified Connector pick up Python packages from User's location
user

Created/Edited - 9/2/2026 by Clara Boo | Alteryx

Issue

Python-based tools and Unified Connectors, such as SharePoint, may be picking up Python packages installed in the user's location (C:\Users\<USER>\AppData\Roaming\python\python<VERSION>\site-packages.

 

NOTE: This behaviour is only seen in Alteryx versions >= 2025.1.2.

 

Example of a package found in the user's site-packages:

 

 

The presence of the site-packages folder is not an issue by itself. However, if the packages used by the tools and unified connectors are also installed in this location and they are not compatible with what is needed, the tools and unified connectors will fail to work and will run into different errors.

 

Example of the error you may see for a unified connector based on the above package:

 

Failed to start connector <UNIFIED_CONNECTOR_PATH> with <COMMAND_LINE>. Details: Failed to read the port from the connector process.

 

 

Details in the workflow/engine log:

 

 

An example of the error you may see in the Python-based tool:

 

Failed to read port assignment
InternalError - Deadlock detected

 

 

NOTE: The error message returns from the tool may be the only message you get for Python-based tool, and the message varies depending on the cause and what is thrown out by the package itself.

 

 

Environment
  • Alteryx Designer/Server
    • Version >= 2025.1.2
  • Python-based tools/Unified Connectors, such as SharePoint

 

Prerequisites
  • Python packages installed in the user's location.
  • Python version matches the version used by Alteryx Designer

 

Cause

The tools and unified connectors should not have used the packages from the user's location. A defect (TCO-4095) has been logged to address this.

 

Resolution

To address this and to keep the packages in the user's location as they are, please follow the instructions below to prevent the use of the packages in the user's location by the Python-based tools and unified connectors.

 

  1. In the File Explorer, go to  <INSTALLED_PATH>\Ateryx\bin\Python\envs\DesignerBaseTools_vEnv.
  2. Copy pyvenv.cfg and paste it to <INSTALLED_PATH>Alteryx\bin\Python\python-<VERSION>-embed-amd64.

 

Designer VersionLocation
>= 2025.1.2.79<INSTALLED_PATH>\Alteryx\bin\Python\python-3.10.18-embed-amd64
>= 2025.2.1<INSTALLED_PATH>\Alteryx\bin\Python\python-3.10.18-embed-amd64
>= 2026.1.1<INSTALLED_PATH>\Alteryx\bin\Python\python-3.13.11-embed-amd64

 

  1. Open the copied pyvenv.cfg in the new location and make sure the "include-system-site-packages" has a value of "false". Modify the value if necessary.

 

Example as seen in version 2026.1:

 

 

  1. The Python-based tool and the unified connector should work now.

 

 

 

Was this article helpful?