error: package directory 'python27\lib\gurobipy' does not exist
901 views
Skip to first unread message
adam blumhagen
unread,
Mar 3, 2011, 11:47:50 AM3/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Gurobi Optimization
I am getting the following error when trying to run the setup script
for Gurobi optimizer in command line: error: package directory
'python27\lib\gurobipy' does not exist
I looked in the directory and there is a gurobipy folder. In it, there
are two files "_init_" and "gurobipy.pyd"
To install, I typed "C:\gurobi401\win32\setup.py install"
The following was said before the error:
running install
running build
running build_py
Thank you for your help.
Stuart Mitchell
unread,
Mar 3, 2011, 3:50:34 PM3/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gur...@googlegroups.com
I think this is solved by
cd C:\gurobi401\win32
then
setup.py install
as setup has difficulties when in is run from outside its directory (in this case are you in the python27 dir), this is a python thing that always annoys me
Stu
adam blumhagen
unread,
Mar 3, 2011, 4:16:59 PM3/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message