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
MHKiT can alternatively be installed from PyPi using pip:
61
+
To install a local, editable version of MHKiT-Python using [pip](https://pip.pypa.io/en/stable/):
43
62
44
63
```bash
45
-
pip install mhkit
64
+
pip install -e .["all"]
46
65
```
47
66
67
+
An [environment YAML file](https://github.com/MHKiT-Software/MHKiT-Python/blob/main/environment.yml) is also provided that can create the base environment required by MHKiT.
68
+
MHKiT can then be installed into that environment using any of the provided methods.
69
+
70
+
### Option 3: Module-specific Install from Python
71
+
72
+
A slim version of MHKiT-Python can be installed to reduce the number of dependencies and potential conflicts with other software.
73
+
This installation utilizes pip's optional dependencies installation.
74
+
To install a single MHKiT module, e.g. the wave module, and its dependencies, use:
75
+
76
+
pip install mhkit["wave"]
77
+
78
+
Note that ``pip install mhkit`` only installs the base MHKiT dependencies and not the entire software.
79
+
To install all MHKiT dependencies use:
80
+
81
+
pip install mhkit["all"]
82
+
48
83
See [installation instructions](https://mhkit-software.github.io/MHKiT/installation.html) for more information.
0 commit comments