Hi,
when I use savefig() to save the image, it saves it in the bin directory of the instance (../instance/bin/)
when I try to pass the path in the name (savefig('path/image.png')), I get an error :*
Type error : RuntimeError*
*Error value : Could not open file /home/image.png
*How can I set the save directory ?
thks
christophe wrote:
Hi,
Type error : RuntimeError*
*Error value : Could not open file /home/image.png
What path did you try ? From this error message it seems you tried to save in the /home folder where you dont have write permission. Try to save in /home/christophe/image.png (replace christophe by whatever your user name is)
it’s the same problem with any path
···
On 4/19/06, Marin Manuel <marin.manuel@…287…> wrote:
christophe wrote:
Hi,
Type error : RuntimeError*
*Error value : Could not open file /home/image.png
What path did you try ? From this error message it seems you tried to
save in the /home folder where you dont have write permission. Try to
save in /home/christophe/image.png (replace christophe by whatever your
user name is)