how can I solve this erorr usr/lib/python2.6 : permisson denied

M

Mohseniaref

Dear Friend
I have this erorr after running pyhon script with header
/usr/lib/python2.6 : permisson denied
I change ownership with -hR in super user terminal
 
A

Andrea Crotti

Mohseniaref said:
Dear Friend
I have this erorr after running pyhon script with header
/usr/lib/python2.6 : permisson denied
I change ownership with -hR in super user terminal

Why /usr/lib... and not in bin?
I guess this is the directory, of course if you put it in the header
(shabang) it won't work.

I use normally
#!/usr/bin/env python
 
S

Steven D'Aprano

Dear Friend
I have this erorr after running pyhon script with header
/usr/lib/python2.6 : permisson denied I change ownership with -hR in
super user terminal

Please COPY AND PASTE (do NOT retype them):

(1) the header from the script
(2) the command you use to run the script
(3) the error message you get
(4) the command you use to change ownership
(5) the result of that command
(6) what happens if you try running the script again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top