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

Langflow installtion Error #1390

Closed
AliNaqvi110 opened this issue Feb 4, 2024 · 4 comments
Closed

Langflow installtion Error #1390

AliNaqvi110 opened this issue Feb 4, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@AliNaqvi110
Copy link

Hi how are you.
I have been trying to install Langflow in my local system. I tried to install with Python 3.9, and Python 3.11.
It does not install at all with Python 3.11.
With Python 3.9, it install but when I run the langflow using command "python -m langflow", it shows me error.
"from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ImportError: DLL load failed while importing _rust: The specified procedure could not be found. ".

I have
Python 3.9.1
Rustc 1.75.0
Node js v20.11.0
cryptgraphy 42.0.2

please help me how can I overcome this issue

Copy link

dosubot bot commented Feb 4, 2024

🤖

Hey @AliNaqvi110, nice to see you back here! Hope you're doing great. 😊

The error you're encountering, ImportError: DLL load failed while importing _rust: The specified procedure could not be found, is typically due to a mismatch between the Python version and the installed packages.

In your case, you mentioned that you have Python 3.9.1, Rustc 1.75.0, Node js v20.11.0, and cryptography 42.0.2 installed. The issue might be with the cryptography package.

The cryptography package has binary wheels available on PyPI for Python 3.9. However, the version you have installed (42.0.2) does not exist. The latest version of cryptography, as of this writing, is 3.4.7.

To resolve this issue, you should uninstall the current cryptography package and then install the correct version. Here's how you can do it:

pip uninstall cryptography
pip install cryptography

This will uninstall the current version of cryptography and then install the latest version that is compatible with your Python version.

If you still encounter the issue after doing this, it might be due to a problem with your Python installation. In that case, you might want to consider reinstalling Python.

As for the Python versions that are compatible with the latest version of Langflow, they are Python 3.9 up to, but not including, Python 3.11. This is indicated in the pyproject.toml file under the [tool.poetry.dependencies] section with the line python = ">=3.9,<3.11". This means that Langflow requires a Python version that is greater than or equal to 3.9 and less than 3.11.

You can refer to the pyproject.toml and src/backend/langflow/main.py files for more information.

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@dosubot dosubot bot added the bug Something isn't working label Feb 4, 2024
@AliNaqvi110
Copy link
Author

Wow, So quick response, Thanks for help it really helped me.

@AliNaqvi110
Copy link
Author

But I can't see components in my left menu??

@anovazzi1
Copy link
Contributor

are you using python 3.10?

@dosubot dosubot bot added the stale label Jun 20, 2024
@dosubot dosubot bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
@dosubot dosubot bot removed the stale label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants