mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-07 13:40:46 +00:00
Fix Unicode error on Windows during setup, while trying to read contents of README.md. (Issue #200)
This commit is contained in:
parent
3eddbd11e4
commit
eae358810b
2
setup.py
2
setup.py
@ -6,7 +6,7 @@ from setuptools import find_packages, setup
|
|||||||
with open(Path(__file__).absolute().parents[0] / "langchain" / "VERSION") as _f:
|
with open(Path(__file__).absolute().parents[0] / "langchain" / "VERSION") as _f:
|
||||||
__version__ = _f.read().strip()
|
__version__ = _f.read().strip()
|
||||||
|
|
||||||
with open("README.md", "r") as f:
|
with open("README.md", "r", encoding="utf-8") as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
LLM_DEPENDENCIES = ["cohere", "openai", "nlpcloud", "huggingface_hub"]
|
LLM_DEPENDENCIES = ["cohere", "openai", "nlpcloud", "huggingface_hub"]
|
||||||
|
Loading…
Reference in New Issue
Block a user