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
ImportError when packaging a standalone application with PyInstaller #1319
Comments
Can you check if this also happens with Lark 1.1.5 ? |
still the same error with Lark 1.1.5 |
Seems to me like it's a langchain (or less likely, PyInstaller) issue, not a lark issue. Did you open an issue there? |
I opened an issue at langchain: url |
@Mazzesy I fixed your url here, but you made the same syntax mistake in the langchain issue. The title comes first, the url comes second. |
@erezsh thanks for the hint. I fixed it in the langchain issue. |
When attempting to package my application using PyInstaller, I encounter an error related to the "lark" library. When trying to initiate the SelfQueryRetriever from langchain, I encounter the following problem:
I have already ensured that the "lark" library is installed using the appropriate command: pip install lark.
I have also tried to add a hook-lark.py file to the PyInstaller as suggested here #548.
With the following code the problem can be reproduced:
The spec-file to create the standalone application looks like this:
Can you help? Thanks in advance!
The text was updated successfully, but these errors were encountered: