How to Successfully Install TenPy on Windows
Posted: 05 Dec 2021, 20:52
Hello,
This is my first time using TenPy and am trying to install it on my laptop, which uses Windows. I use Anaconda and Spyder to code in Python.
I have been using (https://tenpy.readthedocs.io/en/latest/readme_wrap.html) to understand how to set up TenPy. Since I use conda, I considered typing (conda install --channel=conda-forge physics-tenpy) into the command prompt (without the parentheses of course). However, I get a message and it seems that tenpy was not installed. I attached a picture of it.
Following the last instructions, I went to anaconda.org, searched tenpy, and clicked on "conda-forge / packages / physics-tenpy ". The webpage instructed to run
conda install -c conda-forge physics-tenpy
I again got the same error message. Finally, when I opened up Spyder and ran the code
import tenpy
I got an error message saying "module tenpy not found."
Clearly, I did not install TenPy correctly. Can someone please kindly tell me how I can install it?
Thanks.
This is my first time using TenPy and am trying to install it on my laptop, which uses Windows. I use Anaconda and Spyder to code in Python.
I have been using (https://tenpy.readthedocs.io/en/latest/readme_wrap.html) to understand how to set up TenPy. Since I use conda, I considered typing (conda install --channel=conda-forge physics-tenpy) into the command prompt (without the parentheses of course). However, I get a message and it seems that tenpy was not installed. I attached a picture of it.
Following the last instructions, I went to anaconda.org, searched tenpy, and clicked on "conda-forge / packages / physics-tenpy ". The webpage instructed to run
conda install -c conda-forge physics-tenpy
I again got the same error message. Finally, when I opened up Spyder and ran the code
import tenpy
I got an error message saying "module tenpy not found."
Clearly, I did not install TenPy correctly. Can someone please kindly tell me how I can install it?
Thanks.