Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error encountered during installation of embedchain via pip #2118

Open
AhmedOsamaMath opened this issue Jan 2, 2025 · 3 comments
Open

error encountered during installation of embedchain via pip #2118

AhmedOsamaMath opened this issue Jan 2, 2025 · 3 comments

Comments

@AhmedOsamaMath
Copy link

🐛 Describe the bug

When attempting to install the embedchain library using the command pip install embedchain, the installation fails with an error. This issue prevents successful installation and usage of the library.

Steps to Reproduce:

  1. Run the following command in a terminal:
    pip install embedchain
  2. Observe the error output in the terminal.

Expected Behavior:

The embedchain library should install without errors.

Actual Behavior:

Installation fails with the following error

Screenshot_1

System Information:

  • Operating System: Windows 10
  • Python Version: 3.13.1 via anaconda
  • Pip Version: 24.2
@akj2018
Copy link

akj2018 commented Jan 4, 2025

It seems like you don't have some compliers installed in your system. Try installing C++ complier, add to the env. variable and try again.

This link should help: configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger from mingw-w64

@AhmedOsamaMath
Copy link
Author

Hello,

Thank you for your response. I followed the instructions provided in the link: Configuring VS Code for C++

To ensure everything was set up correctly, I verified my installation by running the following commands:

  • gcc --version
  • g++ --version
  • gdb --version

Screenshot_1

Each command executed successfully, confirming that GCC, G++, and GDB are installed and properly configured

However, when I attempt to run pip install embedchain, I still encounter the same issue. Below is the error message I receive:

Screenshot_4

Could you please guide me on any additional steps I might be missing or specific configurations that might be required?

@akj2018
Copy link

akj2018 commented Jan 4, 2025

Well, its a different error now.

Error logs specifies that Python package chroma-hnswlib require Microsoft Visual C++ 14.0 or greater.
This link should help: Microsoft Visual C++ 14.0 is required

Download Microsoft C++ Build Tools --> Run exe --> Check C++ build tools --> check MSVC v142 and Windows 10 SDK --> wait for installation to finish

Make sure the "MSVC v142 - VS 2019 C++ x64/x86 build tools" option is selected (or newer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants