https://prefect.io logo
Title
r

Ron Bergeron

03/16/2023, 7:25 PM
Hi Everyone: I'm running into a problem using a prefect profile. I'm on Windows 10, Prefect 2.8.5, working within a conda environment with python 3.8.16. Running through an example project using dbt, snowflake, prefect by Anna Geller on Medium. From bash, I entered the following, which completed with no errors
prefect profile create dev
then I tried to use the profile by issuing the following command and received the errors below.
prefect profile use dev
Error screen snip:
1
Solved: Thanks to @Kevin Kho who found this GitHub Post by NodeJSmith (thank you). It is a Windows environment var issue concerning UTF-8 encoding. Added the following two windows system environment vars:
PYTHONIOENCODING=UTF-8
PYTHONUTF8=1