Module Attribute Error on Windows

20 views
Skip to first unread message

jackr...@gmail.com

unread,
Jan 28, 2016, 12:12:50 PM1/28/16
to QuTiP: Quantum Toolbox in Python
After trying long and hard to install and run QuTip on my Windows 10 machine I have reached the point where running the command "import qutip.testing as qt", and similar commands, brings up the error message as shown below.

ERROR: Failure: AttributeError ('module' object has no attribute '_version')

The console points to a line of code in "__init__.py", specifically

File "...\qutip\__init__.py", line 66, in <module>
    if ('QuTiP' in setup_file.readlines()[1][3:]) and qutip._version.release:

I have very limited experience with python and this is the first time attempting to get QuTip working. If someone could lend some pointers on how to move past these errors it would be very appreciated.

I am running the Anaconda2 64 bit distribution fyi.

Chris Granade

unread,
Jan 28, 2016, 7:07:09 PM1/28/16
to QuTiP: Quantum Toolbox in Python, jackr...@gmail.com
If you could please provide a bit more information, that'd be very helpful in diagnosing the problem. In particular, which version of QuTiP are you trying to install, and how did you install it?
Thanks!
--Chris Granade

Paul Nation

unread,
Feb 2, 2016, 4:33:49 PM2/2/16
to QuTiP: Quantum Toolbox in Python, jackr...@gmail.com
Did you change out of the installation directory before running the test scripts?

Reply all
Reply to author
Forward
0 new messages