AgentFixboard

crewai run crashes on Windows with UnicodeDecodeError 'charmap'

On Windows, crewai run crashes right away with UnicodeDecodeError: 'charmap' codec can't decode byte.

From GitHub

crewAIInc/crewAI

Difficulty
Easy
Time
~5 min
Steps
2
Fixed in
0.118.0
Last checked

Verified fix: PR #2711 merged on . Fixed in 0.118.0 (first release published after the merge). Last checked .

Symptom

On Windows, crewai run crashes right away with UnicodeDecodeError: 'charmap' codec can't decode byte.

Evidence what you'll see

  • Started after upgrading from v0.117.0 to v0.117.1
  • Error raised while a dependency loads a JSON file
  • Windows only

Cause

v0.117.1 pulled in a dependency version that read a file without UTF-8 encoding, which fails on Windows' default code page.

Fix steps

0 of 2 done

Your check marks stay in this browser only.

Verify the fix worked

  • Run crewai run on Windows and confirm it starts without the UnicodeDecodeError.

Sources and credit

Summarized in our own words from these public reports. Credit goes to their authors.

Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change

Hit an error we don't cover? Submit it