Skip to content

The agent engineering platform.

Fix Unicode error on Windows (Issue #200) (#203)

Mark Kretschmanneae358810b4f
diff --git a/setup.py b/setup.py
index fbc129daeb..99bebc37c8 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from setuptools import find_packages, setup
with open(Path(__file__).absolute().parents[0] / "langchain" / "VERSION") as _f:
__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()
LLM_DEPENDENCIES = ["cohere", "openai", "nlpcloud", "huggingface_hub"]