Hi, I have just starting using Prefect on Windows....
# prefect-integrations
y
Hi, I have just starting using Prefect on Windows. Was initailly using it on MAC OS with no issues. Upon trying to run a prefect deploy, I was prompted with: 'charmap' codec can't decode byte 0x8f in position 16299: character maps to <undefined> Any guidance on this would be greatly appreicated. THanks a lot !
b
Hi Youssef! Hmm, after doing some digging online, you may have some luck setting this environment variable:
Copy code
export PYTHONIOENCODING=UTF-8
From what I can tell, this error indicates a decoding issue when Python is attempting to read a file with a specific encoding. The file might contain characters that are not supported by the
charmap
codec, which can be associated with Windows-1252 encoding.
I'd give a +1 to Nate's suggestion though about opening an issue as well. If you could give a heads up as to whether or not setting the env variable works, that'd be much appreciated. 🙇🏻