3 ms·
Try im.save("/tmp/artsciimg.png"). This will most likely show that it's a local permission error. Then identify which directory it's trying to write to with os
by casca 13y ago
Try im.save("/tmp/artsciimg.png"). This will most likely show that it's a local permission error.
Then identify which directory it's trying to write to with os.system("pwd") and chmod 777 that directory.
- bl00djack 13y agoHoly shit! The error stopped. Thanks soo much. In fact, the error is, I was supposed to give absolute path for im.save() but your answer ("/tmp/artsciimg.png") showed me the way, Thank you :)