Warning: failed to open log file
AnsweredI opened Gurobi Interactive Shelli and getting this message-
Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Warning: Failed to open log file 'gurobi.log'
Academic license - for non-commercial use only - expires 2021-03-08
Using license file c:\gurobi911\gurobi.lic
How should I fix this
-
This looks as though you don't have write privileges in the directory where you are running your code.
Best regards,
gwyneth-1 -
Okey
what steps should i follow to get write privileges in the directory
0 -
Unfortunately, I don't know your OS, and I'm not a windows expert. Please search for an answer to this. For example, here is one forum post: Give permissions to files and folders in Windows 10
0 -
I'm also having this issue and I've checked that I have write privilages, did you manage to solve the issue Mamta?
0 -
Hi Seb - Can you share the complete error message? Do you have any antivirus or firewall software that could be preventing Gurobi from writing to a log file?
0 -
Hi Sab
I could not resolve this issue
Hence using Jupyter
-1 -
Hi I met this issue as well and I have solved this issue (I use Windows 10). I tried to run the Gurobi Interactive Shelli as Administrator (you can right click the icon and then you can find it), and then this issue was resolved.
0
Please sign in to leave a comment.
Comments
7 comments