Issue with installing QuTip on Windows

27 views
Skip to first unread message

ravikish...@gmail.com

unread,
Feb 23, 2018, 11:58:14 AM2/23/18
to QuTiP: Quantum Toolbox in Python
Hello, 

I am installing QuTip on Windows, and get an error as shown below, until this point everything seemed ok :

cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Iqutip/cy "-Id:\program files\python\python36\lib\site-packages\numpy\core\include" "-Id:\program files\python\python36\lib\site-packages\numpy\core\include" "-Id:\program files\python\python36\include" "-Id:\program files\python\python36\include" /EHsc /Tpqutip/cy/spmatfuncs.cpp /Fobuild\temp.win-amd64-3.6\Release\qutip/cy/spmatfuncs.obj /w /Ox
    error: command 'cl.exe' failed: No such file or directory
error
Cleaning up...
  Removing source in C:\Users\myComp\AppData\Local\Temp\pip-build-1y7hxngu\qutip
Command ""d:\program files\python\python36\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\myComp\\AppData\\Local\\Temp\\pip-build-1y7hxngu\\qutip\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\myComp\AppData\Local\Temp\pip-wh041stu-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\myComp\AppData\Local\Temp\pip-build-1y7hxngu\qutip\
Exception information:
Traceback (most recent call last):
  File "d:\program files\python\python36\lib\site-packages\pip\basecommand.py", line 215, in main
    status = self.run(options, args)
  File "d:\program files\python\python36\lib\site-packages\pip\commands\install.py", line 342, in run
    prefix=options.prefix_path,
  File "d:\program files\python\python36\lib\site-packages\pip\req\req_set.py", line 784, in install
    **kwargs
  File "d:\program files\python\python36\lib\site-packages\pip\req\req_install.py", line 878, in install
    spinner=spinner,
  File "d:\program files\python\python36\lib\site-packages\pip\utils\__init__.py", line 707, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip.exceptions.InstallationError: Command ""d:\program files\python\python36\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\myComp\\AppData\\Local\\Temp\\pip-build-1y7hxngu\\qutip\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\myComp\AppData\Local\Temp\pip-wh041stu-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\myComp\AppData\Local\Temp\pip-build-1y7hxngu\qutip\


How can I fix it ?

Cheers, 
Ravi 

Paul Nation

unread,
Feb 23, 2018, 11:59:31 AM2/23/18
to qu...@googlegroups.com
Do you have visual studio 2015 installed with c++?

--
You received this message because you are subscribed to the Google Groups "QuTiP: Quantum Toolbox in Python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qutip+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages