Describe the bug
Im trying to install LangFlow with pip but i get an error
Browser and Version
Steps to reproduce the behavior:
-
pip install langflow
-
installation fails
error :
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
Traceback (most recent call last):
File "C:\Users\test\anaconda3\envs\langflow\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\test\anaconda3\envs\langflow\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\test\anaconda3\envs\langflow\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\test\AppData\Local\Temp\pip-build-env-6sipyj6r\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "C:\Users\test\AppData\Local\Temp\pip-build-env-6sipyj6r\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "C:\Users\test\AppData\Local\Temp\pip-build-env-6sipyj6r\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 6, in
File "C:\Users\test\anaconda3\envs\langflow\lib\pathlib.py", line 1135, in read_text
return f.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6 in position 4: illegal multibyte sequence
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
You can try setting the system variable PYTHONUTF8=1, it might help @paladinlp
@lxl876 Thank you for your help. The problem has been solved.