python version = 3.9
pip version = 22.3.1
I am trying to pip install to use openai, but the following error continuously occurs.
To solve it, I entered ‘chcp 65001’ in the anaconda powershell prompt window and proceeded, and I checked all the environment variables, but the same error still occurs.
Is there anyone who has had the same problem as me and has a solution?
UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 1031: illegal multibyte sequence
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: 'C:\Users\krema\anaconda3\python.exe' 'C:\Users\krema\anaconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\krema\AppData\Local\Temp\tmpdjgd_v3b'
cwd: C:\Users\krema\AppData\Local\Temp\pip-install-xs3yacfq\openai_9ef093dfd6b74f799d5500aa51d0f77e
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.