ModuleNotFoundError: No module named 'gurobypy'
Answeredprint(sys.executable) # works this time
C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\pythonw.exe
print(sys.version)
3.6.2 |Anaconda, Inc.| (default, Sep 19 2017, 08:03:39) [MSC v.1900 64 bit (AMD64)]
print(sys.version_info)
sys.version_info(major=3, minor=6, micro=2, releaselevel='final', serial=0)
I have problem installing setup.py. I tried:
c:\gurobi900\win64>c:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\ setup.py install
'c:\Program' is not recognized as an internal or external command,
operable program or batch file.
and
c:\gurobi900\win64>c:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\ python setup.py install
'c:\Program' is not recognized as an internal or external command,
operable program or batch file.
Please help.
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi,
Since the path to your Python executable has spaces in it, could you try adding quotes around it? E.g.,
"c:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\python" setup.py install
Thanks!
Eli
0
Post is closed for comments.
Comments
2 comments