logbert icon indicating copy to clipboard operation
logbert copied to clipboard

os.mknod error

Open htcml opened this issue 3 years ago • 0 comments

When I run python deeplog.py train, I got an error of PermissionError: [Errno 1] Operation not permitted. I don't have superuser privilege for my laptop. Is there an alternative command I can use to replace os.mknod?

Here is the log trace:

Features logkey:True time: False
Device: cpu
arguments Namespace(mode='train')
Loading train dataset


scale_path: ../output/hdfs/deeplog/scale.pkl
Traceback (most recent call last):
  File "deeplog.py", line 117, in <module>
    train()
  File "deeplog.py", line 89, in train
    trainer = Trainer(Model, options)
  File "../logdeep/tools/train.py", line 68, in __init__
    os.mknod(scale_path)
PermissionError: [Errno 1] Operation not permitted

htcml avatar Aug 12 '22 23:08 htcml