hectorpine / local-llama3-system-prompt

Added local llama3 system prompt agent attributes
4 stars 2 forks source link

Ubuntu by WSL on Windows can't find decouple. #1

Open HyperUpscale opened 2 months ago

HyperUpscale commented 2 months ago

ImportError: cannot import name 'config' from 'decouple' (/home/u/.local/lib/python3.10/site-packages/decouple/init.py)

I have it installed, but streamlit cant find it...

u@WORKSTATION:~/local-llama3-system-prompt$ pip show decouple

Name: decouple Version: 0.0.7 Summary: Decoupling logic Home-page: https://github.com/andrey-avdeev/decouple Author: Andrey Avdeev Author-email: seorazer@gmail.com License: Apache 2.0 Location: /home/u/.local/lib/python3.10/site-packages Requires: Required-by:

Traceback: File "/home/u/.local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script exec(code, module.dict) File "/home/u/local-llama3-system-prompt/streamlit_app.py", line 2, in from main import ResearchCrew # Import the ResearchCrew class from main.py File "/home/u/local-llama3-system-prompt/main.py", line 2, in from decouple import config

Any ideas?
hectorpine commented 2 months ago

Hello! Try the following, pip uninstall decouple and also pip uninstall python-decouple then do pip install python-decouple

hectorpine commented 2 months ago

woops closed it by accident. lmk if it works.