AttributeError: 'NoneType' object has no attribute 'get_include'

215 views
Skip to first unread message

Nithin Thomas Iykkanat

unread,
Feb 20, 2018, 12:26:43 PM2/20/18
to QuTiP: Quantum Toolbox in Python
Can anyone help me with this?
I tried installing qutip, but this error occurred.



File "/tmp/pip-build-h1wb5w4v/qutip/setup.py", line 166, in <module>
        include_dirs = [np.get_include()],
    AttributeError: 'NoneType' object has no attribute 'get_include'

Thanks in advance.

Alex Pitchford

unread,
Feb 20, 2018, 1:25:26 PM2/20/18
to qu...@googlegroups.com
This is just a guess, but have you installed the requisite numpy version for qutip?
It should be done automatically by pip, but some other users have reported installation issues than have been solved by installing the pre-reqs first.

If you need more help, then please include your operating system, python environment type etc.

Thanks

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