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 to resolve this error #152

Open
hblink opened this issue Sep 11, 2024 · 1 comment
Open

how to resolve this error #152

hblink opened this issue Sep 11, 2024 · 1 comment

Comments

@hblink
Copy link

hblink commented Sep 11, 2024

i followed the instruction, but get this error when trying praisonai coe
Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in _get_module_details
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/praisonai/init.py", line 5, in
from .cli import PraisonAI
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/praisonai/cli.py", line 23, in
from chainlit.cli import chainlit_run
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/chainlit/init.py", line 26, in
from chainlit.action import Action
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/chainlit/action.py", line 5, in
from chainlit.telemetry import trace_event
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/chainlit/telemetry.py", line 12, in
from chainlit.config import config
File "/home/papa/praisonai/myvenv/lib/python3.11/site-packages/chainlit/config.py", line 36, in
FILES_DIRECTORY.mkdir(exist_ok=True)
File "/usr/lib/python3.11/pathlib.py", line 1117, in mkdir
os.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/home/papa/.praison/.files'

@Rom-1T
Copy link

Rom-1T commented Sep 18, 2024

I had the same problem, just create both of those folder in your /home/papa. This might be caused you have installed it for an user who does not have access to root rights.

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

2 participants