install Development version 4.0.0

207 views
Skip to first unread message

ta95....@gmail.com

unread,
Dec 23, 2016, 3:24:16 PM12/23/16
to QuTiP: Quantum Toolbox in Python
Hi,
I installed python 3.5 via anaconda3 now I want to install Development version of QuTip.I download ZIP file fro qutip.org and save in Download folder and run
python setup.py install
Installation was successful and I received the message:

Using /home/ta/anaconda3/lib/python3.5/site-packages
Finished processing dependencies for qutip===4.0.0.dev0-
then I run
ipython
In [1]: from qutip import *
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-674d9281af88> in <module>()
----> 1 from qutip import *

/home/ta/Downloads/qutip-master/qutip/__init__.py in <module>()
    203
    204 # core
--> 205 from qutip.qobj import *
    206 from qutip.states import *
    207 from qutip.operators import *

/home/ta/Downloads/qutip-master/qutip/qobj.py in <module>()
     58 import qutip.settings as settings
     59 from qutip import __version__
---> 60 from qutip.fastsparse import fast_csr_matrix
     61 from qutip.ptrace import _ptrace
     62 from qutip.permute import _permute

/home/ta/Downloads/qutip-master/qutip/fastsparse.py in <module>()
    369 #Need to do some trailing imports here
    370 #-------------------------------------
--> 371 from qutip.cy.spmath import (zcsr_transpose, zcsr_adjoint)

/home/ta/Downloads/qutip-master/qutip/cy/__init__.py in <module>()
----> 1 from qutip.cy.spmatfuncs import *

ImportError: No module named 'qutip.cy.spmatfuncs'
No module named 'qutip.cy.spmatfuncs'

why this error means?

ta95....@gmail.com

unread,
Jan 2, 2017, 3:04:19 AM1/2/17
to QuTiP: Quantum Toolbox in Python, ta95....@gmail.com
this problem was solved.

Alex Pitchford

unread,
Jan 2, 2017, 6:32:27 AM1/2/17
to qu...@googlegroups.com
I am surprised that you installed 4.0.0 dev. We are now working on 4.1. I guess its an old download?

On 2 January 2017 at 17:04, <ta95....@gmail.com> wrote:
this problem was solved.

--
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.

ta95....@gmail.com

unread,
Jan 2, 2017, 7:29:15 AM1/2/17
to QuTiP: Quantum Toolbox in Python, ta95....@gmail.com
yes it was old, I now upgrade my qutip to newest version.

duanp...@gmail.com

unread,
Mar 18, 2017, 8:50:41 AM3/18/17
to QuTiP: Quantum Toolbox in Python
Hi,
 I have exactly the same problem, how did you fix it?

在 2016年12月24日星期六 UTC+8上午4:24:16,ta95....@gmail.com写道:

Paul Nation

unread,
Mar 18, 2017, 10:37:21 AM3/18/17
to QuTiP Group
Did you exit the qutip folder before running?

--

ta95....@gmail.com

unread,
Mar 19, 2017, 8:31:47 AM3/19/17
to QuTiP: Quantum Toolbox in Python
Hi,
I used following command that is proposed in http://www.cgranade.com/blog/2016/08/22/qutip-on-wsl.html



Alex Pitchford

unread,
Mar 21, 2017, 8:01:15 AM3/21/17
to qu...@googlegroups.com
As Paul suggests, the error you report is what happens when you try to import qutip when you are in the installation directory.
The installation you have is probably fine

Reply all
Reply to author
Forward
0 new messages