Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PermissionError: [Errno 13] Permission denied: '/label' #5

Open
imsanjoykb opened this issue Nov 8, 2021 · 1 comment
Open

PermissionError: [Errno 13] Permission denied: '/label' #5

imsanjoykb opened this issue Nov 8, 2021 · 1 comment

Comments

@imsanjoykb
Copy link

When I run the Emotion Detection notebook.py file its through Permission Error

Error:

(base) ecl@ecl-desktop:~/DBSE-monitor/Emotiondetection$ python3 notebook.py
Traceback (most recent call last):
  File "notebook.py", line 128, in <module>
    with open(current_dir+'/label', "wb") as f:
PermissionError: [Errno 13] Permission denied: '/label'

At first I try to solve this using
chmod -R 777 /home/ecl/DBSE-monitor/Jetson/Emotiondetection

Then
chmod -R 777 /home/ecl/DBSE-monitor/Jetson/Emotiondetection/label

But still get error. Are there any suggestion to solve this error.....

@altaga
Copy link
Owner

altaga commented Nov 8, 2021

When I run the Emotion Detection notebook.py file its through Permission Error

Error:

(base) ecl@ecl-desktop:~/DBSE-monitor/Emotiondetection$ python3 notebook.py
Traceback (most recent call last):
  File "notebook.py", line 128, in <module>
    with open(current_dir+'/label', "wb") as f:
PermissionError: [Errno 13] Permission denied: '/label'

At first I try to solve this using chmod -R 777 /home/ecl/DBSE-monitor/Jetson/Emotiondetection

Then chmod -R 777 /home/ecl/DBSE-monitor/Jetson/Emotiondetection/label

But still get error. Are there any suggestion to solve this error.....

I made a change to read the directory correctly, for some reason it worked on the jetson nano when the project was created, however the error has already been corrected.

image

pd. If you have any error with OpenCV, install through pypi

pip install opencv-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants