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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
kwant
website
Commits
075c1443
There was a problem fetching the pipeline summary.
Commit
075c1443
authored
8 years ago
by
Christoph Groth
Browse files
Options
Downloads
Patches
Plain Diff
update installation instructions for windows
parent
43c5a2cd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/install.rst
+12
-10
12 additions, 10 deletions
content/install.rst
with
12 additions
and
10 deletions
content/install.rst
+
12
−
10
View file @
075c1443
...
@@ -283,27 +283,29 @@ provided by Christoph Gohlke. To install Kwant on Windows
...
@@ -283,27 +283,29 @@ provided by Christoph Gohlke. To install Kwant on Windows
1. Determine whether you have a 32-bit or 64-bit Windows installation by
1. Determine whether you have a 32-bit or 64-bit Windows installation by
following these `instructions <http://support.microsoft.com/kb/827218>`_.
following these `instructions <http://support.microsoft.com/kb/827218>`_.
2. Download and install Python 3.4 for the appropriate architecture (32-bit or
2. Download and install Python for the appropriate architecture (32-bit: “x86” or
64-bit) from the official `Python download site
64-bit: “x86-64”) from the official `Python download site for Windows
<http://www.python.org/download/>`_.
<http://www.python.org/download/>`_. We recommend that you install the
latest stable Python 3 release.
3. Open a command prompt, as described in "How do I get a command prompt" at
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>`_.
the `Microsoft Windows website <http://windows.microsoft.com/en-us/windows/command-prompt-faq>`_.
4. In the command prompt window, execute::
4. In the command prompt window, execute::
C:\Python3
4
\python.exe C:\Python3
4
\Tools\Scripts\win_add2path.py
C:\Python3
5
\python.exe C:\Python3
5
\Tools\Scripts\win_add2path.py
(Instead of typing this command, you can also just copy it from here and
(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
paste it into the command prompt window). If you did not use the default
location to install Python in step 2, then replace ``C:\Python34`` by the
location to install Python in step 2, then replace ``C:\Python35`` by the
actual location where Python is installed.
actual location where Python is installed. You may also need to adjust the
version (“35” signifies Python 3.5).
5. Reboot your computer.
5. Reboot your computer.
6. Download the necessary packages (with the ending ``.whl``) for your
6. Download the necessary packages (with the ending ``.whl``) for your
operating system (32 or 64 bit) and Python version (e.g. ``cp3
4
`` for
operating system (32 or 64 bit) and Python version (e.g. ``cp3
5
`` for
Python 3.
4
) from the website of `Christoph Gohlke
Python 3.
5
) from the website of `Christoph Gohlke
<http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_. For Kwant, we recommend to
<http://www.lfd.uci.edu/~gohlke/pythonlibs/>`_. For Kwant, we recommend to
download at least `NumPy
download at least `NumPy
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy>`_, `SciPy
<http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy>`_, `SciPy
...
@@ -325,9 +327,9 @@ provided by Christoph Gohlke. To install Kwant on Windows
...
@@ -325,9 +327,9 @@ provided by Christoph Gohlke. To install Kwant on Windows
To install all the ``.whl``-files in the current directory, execute ::
To install all the ``.whl``-files in the current directory, execute ::
python
3
-c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
python -c "import pip, glob; pip.main(['install', '--no-deps'] + glob.glob('*.whl'))"
The above cryptic command is equivalent to ``pip
3
install --no-deps
The above cryptic command is equivalent to ``pip install --no-deps
*.whl``, i.e. it installs all the wheel files in the current directory
*.whl``, i.e. it installs all the wheel files in the current directory
using pip. Because the Windows command interpreter does not support globs,
using pip. Because the Windows command interpreter does not support globs,
we have to rely on the globbing as provided by Python itself.
we have to rely on the globbing as provided by Python itself.
...
...
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