mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-08 23:02:27 -05:00
OSError: [Errno 30] Cannot create directory '/efs'. Detail: [errno 30] Read-only file system #57
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bhavya-giri on GitHub (Oct 26, 2023).
@GokuMohandas can you help me figure this out
@bhavya-giri commented on GitHub (Oct 30, 2023):
@Meryl-Fang commented on GitHub (Nov 12, 2023):
same error here, have you managed to resolve it?
@taaha commented on GitHub (Nov 12, 2023):
I am having the same issue and no idea why. basically it is unable to load function from madewilml/data directory. A hack that worked for me is to create and run the following code cell above this erroneous code cell
Basically instead of importing it which it is failing to do so (no idea why) we are directly using the function in the notebook
@bhavya-giri commented on GitHub (Nov 12, 2023):
But the same error would come in training, check this repo https://github.com/GokuMohandas/mlops-course
@gOsuzu commented on GitHub (Dec 3, 2023):
As the error message indicated, this error caused by the permission related to
/efsfolder, you are creating.I assume you use your own local machine. I edited like below, and it worked in my local environment, Mac OS (14.1.2) and Python 3.10.11. The path would be different, depending on where your directory located. I hope this might help you.
config.pyChange line 13:
EFS_DIR = Path(f"/Users/<your_user_name>/efs/shared_storage/madewithml/{os.environ.get('GITHUB_USERNAME', '')}")madewithml.ipynbChange the codes in Setup section:
EFS_DIR = f"/Users/<your_user_name>/efs/shared_storage/madewithml/{os.environ['GITHUB_USERNAME']}"