expectedparrot / edsl

Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science and market research with large numbers of AI agents and LLMs.
https://docs.expectedparrot.com
MIT License
175 stars 18 forks source link

In VS Code Jupyter NB Env, edsl cache directory cannot be created: #952

Open johnjosephhorton opened 4 weeks ago

johnjosephhorton commented 4 weeks ago

We might consider skipping a directory structure and just writing directly?

    [223](https://untitled+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python@3.10/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py:223)         return
    [224](https://untitled+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python@3.10/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py:224) try:
--> [225](https://untitled+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python@3.10/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py:225)     mkdir(name, mode)
    [226](https://untitled+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python@3.10/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py:226) except OSError:
    [227](https://untitled+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python@3.10/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py:227)     # Cannot rely on checking for EEXIST, since the operating system
    [228](https://untitled+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python@3.10/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py:228)     # could give priority to other errors like EACCES or EROFS
    [229](https://untitled+.vscode-resource.vscode-cdn.net/opt/homebrew/Cellar/python@3.10/3.10.14_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/os.py:229)     if not exist_ok or not path.isdir(name):

OSError: [Errno 30] Read-only file system: '/.edsl_cache'
johnjosephhorton commented 4 weeks ago

@rbyh @zer0dss can one of you try to re-create?