Skip to content
Snippets Groups Projects
Commit 072c9945 authored by Michael Wimmer's avatar Michael Wimmer
Browse files

updated Windows installation instructions

parent 8798585c
No related branches found
No related tags found
No related merge requests found
...@@ -36,16 +36,47 @@ provided by Christoph Gohlke. To install Kwant on Windows ...@@ -36,16 +36,47 @@ provided by Christoph Gohlke. To install Kwant on Windows
64-bit) from the official `Python download site 64-bit) from the official `Python download site
<http://www.python.org/download/>`_. <http://www.python.org/download/>`_.
3. Download and install ``scipy-stack``, ``tinyarray``, and ``kwant`` for Python 3. Open a command prompt, as described in "How do I get a command prompt" at
2.7 from `Christoph Gohlke's page the `Microsoft Windows website <http://windows.microsoft.com/en-us/windows/command-prompt-faq>`_.
<http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_. Once again you should choose
the architecture that is appropriate for your system. ("win32" means 32-bit, 4. In the command prompt window, execute::
"amd64" means 64-bit -- even if you have a processor from Intel.) If the
download from Gohlke's site is slow, try to download from `our mirror C:\Python27\python.exe C:\Python27\Tools\Scripts\win_add2path.py
<http://downloads.kwant-project.org/gohlke-mirror/>`_.
(Instead of typing this command, you can also just copy it from here and
You may see a warning that says "The publisher could not be verified. Do you paste it into the command prompt window). If you did not use the default
want to run this software?". Select "Run". location to install python in step 2, then replace ``C:\Python27`` by the
actual location where python is installed.
5. Reboot your computer
6. Now open a command prompt with administrator rights, as described in
"How do I run a command with elevated permissions" at the
`Microsoft Windows website <http://windows.microsoft.com/en-us/windows/command-prompt-faq>`_.
In this new command prompt window, execute::
pip install -U pip
pip install pyreadline
pip install --find-links http://downloads.kwant-project.org/gohlke-mirror/ ^
--trusted-host downloads.kwant-project.org --no-index numpy scipy ^
matplotlib ipython tornado pyzmq jinja2 nose tinyarray kwant
Now you are done!
If you want to run ipython notebook, open a command prompt (no need for
Adminstrator rights this time), and type::
ipython notebook
If you wish to install later other python packages form the website of
`Christoph Gohlke <http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_, download
the package (with the ending ``.whl``) for your operating system (32 or 64 bit)
and install it from a command prompt as::
pip install filename
where filename is the name of the downloaded file.
Ubuntu and derivatives Ubuntu and derivatives
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment