Installing Kwant on Windows-8 system
I am trying to install Kwant on my Windows-8 system. (I am new to this. I have never used Python.) I tried to follow the instructions on the web page http://kwant-project.org/install#microsoft-windows. The final step in the installation is the following command: python3 -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))" When I try to execute this, I get a message that says ‘python3’ is not recognizable as a command. Can anyone tell me what I've done wrong? Thanks. -- Joseph Kulik
Hi,
I am trying to install Kwant on my Windows-8 system. (I am new to this. I have never used Python.) I tried to follow the instructions on the web page http://kwant-project.org/install#microsoft-windows. The final step in the installation is the following command:
python3 -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
When I try to execute this, I get a message that says ‘python3’ is not recognizable as a command. Can anyone tell me what I've done wrong?
Thanks.
My guess would be that Python has not been added to the system path correctly, or that it is not named `python3`. A bit of googling around ( https://docs.python.org/3/using/windows.html#from-the-command-line) seems to indicate that the program used to launch Python in Windows may be called something else. Can you try running py -3 -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))" instead? (hopefully) Happy Kwanting, Joe
Joe, Thank you. That was exactly the issue. The correct command is just 'python.' - Joe On Thu, Apr 28, 2016 at 3:53 AM, Joseph Weston <joseph.weston08@gmail.com> wrote:
Hi,
I am trying to install Kwant on my Windows-8 system. (I am new to this. I have never used Python.) I tried to follow the instructions on the web page http://kwant-project.org/install#microsoft-windows. The final step in the installation is the following command:
python3 -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
When I try to execute this, I get a message that says ‘python3’ is not recognizable as a command. Can anyone tell me what I've done wrong?
Thanks.
My guess would be that Python has not been added to the system path correctly, or that it is not named `python3`. A bit of googling around ( https://docs.python.org/3/using/windows.html#from-the-command-line) seems to indicate that the program used to launch Python in Windows may be called something else. Can you try running
py -3 -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
instead?
(hopefully) Happy Kwanting,
Joe
-- Joseph Kulik
Christoph, Aside from the command name (it's 'python' instead of 'python3') everything seems to have gone well. I have not used it yet. I am a complete novice, so I will need time to go through some tutorials. -Joe On Thu, Apr 28, 2016 at 5:38 PM, Christoph Groth <christoph.groth@cea.fr> wrote:
Joseph Kulik wrote:
Thank you. That was exactly the issue. The correct command is just
'python.'
So you can confirm that the installation instructions for Windows are correct (up to the naming issue)? Any other observations?
Christoph
-- Joseph Kulik
participants (3)
-
Christoph Groth
-
Joseph Kulik
-
Joseph Weston