ryanadoty / Amazon-Bedrock-Document-Comparison-POC

This is sample code demonstrating the use of Amazon Bedrock and Generative AI to implement a document comparison use case. The application is constructed with a simple streamlit frontend where users can upload 2 versions of a document and get all changes between documents listed.
MIT License
7 stars 2 forks source link

ModuleNotFoundError: No module named 'dotenv' #5

Closed Emma-moh closed 10 months ago

Emma-moh commented 10 months ago

hi ryan. do you know what causing this error ?

File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script exec(code, module.dict) File "/Users/emanvmoh/Amazon-Bedrock-Document-Comparison-POC/app.py", line 4, in from doc_comparer import doc_compare File "/Users/emanvmoh/Amazon-Bedrock-Document-Comparison-POC/doc_comparer.py", line 6, in from dotenv import load_dotenv

even though i installed python-dotenv.

ryanadoty commented 10 months ago

this could be an issue with your environments, if you are running this locally, you can also configure the environment variables directly in the code :)