thank you sir i have installed qutip and all the packages required but while running the following code to test the packeges installed properly in spyder it is giving error message .
import math
import os
import sys
def test_is_python_35():
major = sys.version_info.major
minor = sys.version_info.minor
if major == 3:
pass
else:
print("You are running Python {}, but we need Python {}.".format(major, 3))
print("Download and install the Anaconda distribution for Python 3.")
print("Stopping here.")
# Let's stop here
sys.exit(1)
return None
# assert major == 3, "Stopping here - we need Python 3."
You should first sign up to your Anaconda navigator (top of right hand corner), then select "environments" from left side list, type "qutip" into "search packages" blank, you can then see the qutip through the below list, select and apply it by clicks, follow installation...