You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**pip** is the most popular tool for installing Python packages, and the one
39
-
included with modern versions of Python.
40
-
41
-
`kimpy` can be installed with `pip`:
42
-
43
-
```sh
44
-
pip install kimpy
45
-
```
46
-
47
-
**Note:**
48
-
49
-
Depending on your Python installation, you may need to use `pip3` instead of
50
-
`pip`.
51
-
52
-
```sh
53
-
pip3 install kimpy
54
-
```
55
-
56
-
Depending on your configuration, you may have to run `pip` like this:
57
-
58
-
```sh
59
-
python3 -m pip install kimpy
60
-
```
61
-
62
-
### Using pip (GIT Support)
14
+
### Using conda
63
15
64
-
`pip` currently supports cloning over `git`
16
+
The recommended (and the easiest) way to install `kimpy` is to use the conda package manager to install both the KIM API and kimpy from the conda-forge channel.
**conda** is the package management tool for Anaconda Python installations.
22
+
### Using pip
77
23
78
-
Installing `kimpy` from the `conda-forge` channel can be achieved by adding
79
-
`conda-forge` to your channels with:
24
+
This requires that the KIM API alreay be installed on your system. See the KIM-API [docs](https://openkim.org/kim-api/) for instructions on how to do this.
80
25
81
26
```sh
82
-
conda config --add channels conda-forge
27
+
pip install kimpy
83
28
```
84
29
85
-
Once the `conda-forge` channel has been enabled, `kimpy` can be installed with:
86
-
87
-
```sh
88
-
conda install kimpy
89
-
```
30
+
### From source
90
31
91
-
It is possible to list all of the versions of `kimpy` available on your
92
-
platform with:
32
+
This also requires that the KIM API alreay be installed on your system. See above.
93
33
94
34
```sh
95
-
conda search kimpy --channel conda-forge
35
+
git clone https://github.com/openkim/kimpy.git
36
+
pip install -e ./kimpy
96
37
```
97
38
98
39
## Example
@@ -184,7 +125,7 @@ For exampe:
184
125
185
126
## Copyright
186
127
187
-
Copyright (c) 2017-2021, Regents of the University of Minnesota.\
128
+
Copyright (c) 2017-2023, Regents of the University of Minnesota.\
0 commit comments