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

How do i include this in my project? #1

Open
azizultex opened this issue Aug 18, 2023 · 0 comments
Open

How do i include this in my project? #1

azizultex opened this issue Aug 18, 2023 · 0 comments

Comments

@azizultex
Copy link

azizultex commented Aug 18, 2023

Hi,
Apologize for the too novice question. I'm very new to Python. Couldn't that is because I can't include this extension in my project.

I installed the extension in my Flask project as this:

pip install -e git+https://github.com/username/repo.git#egg=package_name
from langchainmemory import LangchainFlaskMemory, ConversationFlaskMemory

I keep receiving error: Module not found.

I tried other manual importing, but keep receiving error:

    from .flask_langchain import *
ImportError: attempted relative import with no known parent package

Any help would be highly appreciated.

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

1 participant