Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In [3]: import run
- ---------------------------------------------------------------------------
- PermissionError Traceback (most recent call last)
- <ipython-input-3-c72c9d25002d> in <module>()
- ----> 1 import run
- ~/persephone/src/run.py in <module>()
- 11 import config
- 12 import rnn_ctc
- ---> 13 import datasets.na
- 14 #import datasets.griko
- 15 #import datasets.chatino
- ~/persephone/src/datasets/na.py in <module>()
- 35 # TODO Move into feat creation functions.
- 36 if not os.path.isdir(TGT_DIR):
- ---> 37 os.makedirs(TGT_DIR)
- 38
- 39 if not os.path.isdir(FEAT_DIR):
- ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
- 229 if head and tail and not path.exists(head):
- 230 try:
- --> 231 makedirs(head, mode, exist_ok)
- 232 except FileExistsError:
- 233 # Defeats race condition when another thread created the path
- ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
- 229 if head and tail and not path.exists(head):
- 230 try:
- --> 231 makedirs(head, mode, exist_ok)
- 232 except FileExistsError:
- 233 # Defeats race condition when another thread created the path
- ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
- 229 if head and tail and not path.exists(head):
- 230 try:
- --> 231 makedirs(head, mode, exist_ok)
- 232 except FileExistsError:
- 233 # Defeats race condition when another thread created the path
- ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
- 229 if head and tail and not path.exists(head):
- 230 try:
- --> 231 makedirs(head, mode, exist_ok)
- 232 except FileExistsError:
- 233 # Defeats race condition when another thread created the path
- ~/persephone/venv3/lib/python3.5/os.py in makedirs(name, mode, exist_ok)
- 239 return
- 240 try:
- --> 241 mkdir(name, mode)
- 242 except OSError:
- 243 # Cannot rely on checking for EEXIST, since the operating system
- PermissionError: [Errno 13] Permission denied: '/home/oadams'
Add Comment
Please, Sign In to add comment