Flask-Langchain icon indicating copy to clipboard operation
Flask-Langchain copied to clipboard

How do i include this in my project?

Open azizultex opened this issue 1 year ago • 0 comments

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.

azizultex avatar Aug 18 '23 05:08 azizultex