I have an Errno 13 Permission denied with subprocess in python
The error indicates that /usr/share/java
does not have permissions that will allow you to execute it, probably because it is a directory, not an executable.
Find the location of the java
executable on your Ubuntu machine (probably /usr/bin/java
) and change /usr/share/
to point to the right place.
just type chmod -R 777 /your/project/
its works for my...
That's an OS permissions error. It means your user doesn't have permission to write to that directory/file. It's nothing to do with Python.