May-08-2020, 11:50 PM
I'm trying to install the python package "quspin" on windows through Anaconda, following the instructions here:
http://weinbe58.github.io/QuSpin/Installation.html
I start Anaconda as admin and click on "cmd.exe". Then, to install the package, I run
Then, I can look at the packages in the Environment of Anaconda and I see "quspin" listed. Then in that same terminal I start python, and run some simple code to see if the package is working:
However this returns the error
If I try starting pycharm and using the python from Conda for a project, then in the list of modules in the "Python Interpreter" section of the settings, I see that it lists "quspin" as one of the modules. However, when I try the same code as above in a python file in pycharm, I get the same error. What is going on here?
http://weinbe58.github.io/QuSpin/Installation.html
I start Anaconda as admin and click on "cmd.exe". Then, to install the package, I run
conda install -c weinbe58 quspin
Then, I can look at the packages in the Environment of Anaconda and I see "quspin" listed. Then in that same terminal I start python, and run some simple code to see if the package is working:
1 |
from quspin.operators import hamiltonian |
Error:ModuleNotFoundError: No module named 'quspin'
So I restart anaconda, check the environment and quspin is still listed there, then restart "cmd.exe" and start python through this and try it again, but I get the same result. Also when I run help('modules') in python, I don't see "quspin" in the list of modules. If I try starting pycharm and using the python from Conda for a project, then in the list of modules in the "Python Interpreter" section of the settings, I see that it lists "quspin" as one of the modules. However, when I try the same code as above in a python file in pycharm, I get the same error. What is going on here?