Error while installing QuTiP

687 views
Skip to first unread message

mariem...@gmail.com

unread,
Mar 7, 2017, 6:05:43 AM3/7/17
to QuTiP: Quantum Toolbox in Python
Hi,

Well, i tried have a problem installing QuTiP. I did install Anaconda 4.3.0 for Windows (Python 3.6 version 64 bit).
I tried installing QuTiP from source the way it is shown in the site but i got this:

Command "C:\Users\ga45pey\AppData\Local\Continuum\Anaconda3\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ga45pey\\AppData\\Local\\Temp\\pip-build-uryb7dek\\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\ga45pey\AppData\Local\Temp\pip-throdyxe-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\ga45pey\AppData\Local\Temp\pip-build-uryb7dek\qutip\

When i tried it with pip i got the same thing.
I'd be very grateful if i get some help.

Best,
Mariem


Alex Pitchford

unread,
Mar 7, 2017, 6:17:22 AM3/7/17
to qu...@googlegroups.com
Hi,
The current release version of qutip won't work with Python 3.6. The current development version should do though. This will very soon be released.

For now (assuming you are using the 4.0.2 release) I would try something like this:

conda create -n qutip-env python=3.4 pip numpy scipy cython mingwpy matplotlib nose jupyter notebook spyder
Create the distutils.cfg in this new qutip-env conda env.see: http://qutip.org/docs/4.0.2/installation.html#installation-on-ms-windows

Run:
activate qutip-env
pip install qutip

If you have further problems, try looking at some of the more recent posts on:

Let us know if you are still having trouble.

Bests

Alex


--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages