Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kunal Marwaha
website
Commits
072c9945
Commit
072c9945
authored
10 years ago
by
Michael Wimmer
Browse files
Options
Downloads
Patches
Plain Diff
updated Windows installation instructions
parent
8798585c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/install.txt
+41
-10
41 additions, 10 deletions
content/install.txt
with
41 additions
and
10 deletions
content/install.txt
+
41
−
10
View file @
072c9945
...
...
@@ -36,16 +36,47 @@ provided by Christoph Gohlke. To install Kwant on Windows
64-bit) from the official `Python download site
<http://www.python.org/download/>`_.
3. Download and install ``scipy-stack``, ``tinyarray``, and ``kwant`` for Python
2.7 from `Christoph Gohlke's page
<http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_. Once again you should choose
the architecture that is appropriate for your system. ("win32" means 32-bit,
"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
<http://downloads.kwant-project.org/gohlke-mirror/>`_.
You may see a warning that says "The publisher could not be verified. Do you
want to run this software?". Select "Run".
3. Open a command prompt, as described in "How do I get a command prompt" at
the `Microsoft Windows website <http://windows.microsoft.com/en-us/windows/command-prompt-faq>`_.
4. In the command prompt window, execute::
C:\Python27\python.exe C:\Python27\Tools\Scripts\win_add2path.py
(Instead of typing this command, you can also just copy it from here and
paste it into the command prompt window). If you did not use the default
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment