Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.. _installation:
===========================
Installation
===========================
You must first have a working and properly configured Python 3.4+ distribution
on your computer. We often use and highly recommend
`Anaconda <https://www.anaconda.com/download/>`_.
Simple user
------------
If you have other Python programs besides PyWake, it is a good idea to install
each program in its own environment to ensure that the dependencies for the
different packages do not conflict with one another. The commands to create and
then activate an environment in an Anaconda prompt are::
conda create --name pywake python=3.6
activate pywake
You can install PyWake into the current active environment directly from git::
pip install git+https://gitlab.windenergy.dtu.dk/TOPFARM/PyWake.git
Developer
----------
We highly recommend developers install PyWake into its own environment. (See
instructions above.) The commands to clone and install PyWake with developer
options into the current active environment in an Anaconda Prommpt are as
follows::
git clone https://gitlab.windenergy.dtu.dk/TOPFARM/PyWake.git
cd PyWake
pip install -e .