logbert
logbert copied to clipboard
os.mknod error
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