Welcome to the Alteryx Knowledge Base

GSCE-841: Error: "UnicodeDecodeError: 'utf-8' codec can't decode byte" returns from Alteryx.installPackages() when installing fails in Japanese OS
user

Created/Edited - 10/29/2026 by Clara Boo | Alteryx

Summary
Instead of displaying the error that causes Python package installation failure, Alteryx.installPackages() fails on decoding the error message.
Description
Alteryx.installPackages() method is unable to decode the error message and returns the following error if the installation fails in Windows Japanese OS:
 
UnicodeDecodeError: 'utf-8' codec can't decode byte"
 
image.png
Environment
  • Alteryx Designer
    • Version(s): All
  • Windows OS Language: Japanese 
Cause

Defect GCSE-841/TCPE-461 has been logged to address this.

 

Resolution

Solution A: Change the Windows code page to address the decoding error

As a workaround, please change the code page on Windows to UTF-8 to see the error message.

Here are the steps to perform this:

  1. n Windows, go to Control Panel and select "Clock and Region".
  2. In the Region window, select the "Administrative" tab.
  3. Click the "Change system locale..." button.
  4. In the Region Settings window, select the "Use the Unicode (UTF-8) for worldwide language support" option.
 
image.png
 

 

Solution B: Use the command prompt to perform Python Package Installation


Use the command prompt to install Python packages instead of using Alteryx.installPackages() method.
Was this article helpful?