Hi, I am trying to install Kwant on a Win 10 PC. I followed the steps https://kwant-project.org/install but cannot finish the final step successfully. The command window says “no module named pip” after I execute python -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))" and “python3 is not recognized as an internal or external command, operable program or batch file” after I execute python3 -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))" What is the possible problem? Best, Zhanzhi Sent from Mail for Windows 10
Hi Zhanzhi, It seems like you don't have Python installed. You have to first install Python on your machine in order to use Kwant. Happy Kwanting, Joe On 12/29/18 5:47 PM, Zhanzhi wrote:
Hi,
I am trying to install Kwant on a Win 10 PC. I followed the steps https://kwant-project.org/install but cannot finish the final step successfully. The command window says “no module named pip” after I execute python -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
and “python3 is not recognized as an internal or external command, operable program or batch file”
after I execute
python3 -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
What is the possible problem?
Best,
Zhanzhi
Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Hi Joe, Thanks for reply. Actually I installed python 3.6 and can do python programming on my PC. [image: image.png] Do you have any idea about this? Happy new year, Zhanzhi On Mon, Dec 31, 2018, 02:06 Joseph Weston <joseph.weston08@gmail.com wrote:
Hi Zhanzhi,
It seems like you don't have Python installed. You have to first install Python on your machine in order to use Kwant.
Happy Kwanting,
Joe On 12/29/18 5:47 PM, Zhanzhi wrote:
Hi,
I am trying to install Kwant on a Win 10 PC. I followed the steps https://kwant-project.org/install but cannot finish the final step successfully. The command window says “no module named pip” after I execute
python -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
and “python3 is not recognized as an internal or external command, operable program or batch file”
after I execute
python3 -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
What is the possible problem?
Best,
Zhanzhi
Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Hi,
Thanks for reply. Actually I installed python 3.6 and can do python programming on my PC.
image.png
Do you have any idea about this?
Probably Python is not in your PATH. Did you exactly follow the instructions on the Kwant website? It seems that step 4 here:https://kwant-project.org/install#microsoft-windows should add Python to your PATH so that you can type 'python'. rather than 'C:\Python36\python.exe' every time. In any case this problem is with your Python installation, and is not specific to Kwant. Happy Kwanting, Joe
participants (3)
-
Joseph Weston
-
Zhanzhi
-
Zhanzhi Jiang