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.
-
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
Please sign in to leave a comment.
Comments
1 comment