|
a |
|
b/docs/source/install.rst |
|
|
1 |
Install |
|
|
2 |
======= |
|
|
3 |
|
|
|
4 |
MOVE is distributed as ``move-dl``, a Python package. |
|
|
5 |
|
|
|
6 |
It requires Python 3.9 (or later) and third-party libraries, such as `PyTorch`_ |
|
|
7 |
and `Hydra`_. These dependencies will be installed automatically when you |
|
|
8 |
install with ``pip``. |
|
|
9 |
|
|
|
10 |
Install the stable version |
|
|
11 |
-------------------------- |
|
|
12 |
|
|
|
13 |
We recommend installing ``move-dl`` in a fresh virtual environment. If you wish |
|
|
14 |
to learn how to create and manage virtual environments with Conda, please |
|
|
15 |
follow `these instructions`_. |
|
|
16 |
|
|
|
17 |
The latest stable version of ``move-dl`` can be installed with ``pip``. |
|
|
18 |
|
|
|
19 |
.. code-block:: bash |
|
|
20 |
|
|
|
21 |
>>> pip install move-dl |
|
|
22 |
|
|
|
23 |
Install the development version |
|
|
24 |
------------------------------- |
|
|
25 |
|
|
|
26 |
If you wish to install the development of ``move-dl``, create a new virtual |
|
|
27 |
environment, and do: |
|
|
28 |
|
|
|
29 |
.. code-block:: bash |
|
|
30 |
|
|
|
31 |
>>> pip install git+https://github.com/RasmussenLab/MOVE@developer |
|
|
32 |
|
|
|
33 |
Alternatively, you can clone ``move-dl`` from `GitHub`_ and install by |
|
|
34 |
running the following command from the top-level source directory: |
|
|
35 |
|
|
|
36 |
.. code-block:: bash |
|
|
37 |
|
|
|
38 |
>>> pip install -e . |
|
|
39 |
|
|
|
40 |
The ``-e`` flag installs the project in "editable" mode, so you can follow the |
|
|
41 |
development branch and update your installation by pulling from GitHub. |
|
|
42 |
|
|
|
43 |
.. _PyTorch: https://pytorch.org/ |
|
|
44 |
.. _Hydra: https://hydra.cc/ |
|
|
45 |
.. _GitHub: https://github.com/RasmussenLab/MOVE |
|
|
46 |
|
|
|
47 |
.. _these instructions: https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html |