Newer
Older
# OpenCAPIF SDK installation
## OpenCAPIF SDK consumer installation
SOON
## OpenCAPIF SDK development environment installation
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Follow next steps to perform OpenCAPIF SDK installation:
1 - Create an enviroment with pyenv
```console
#Commands to install the Python environment
pyenv install 3.12
pyenv virtualenv 3.12 pesp_sdk_env
#Activate your enviroment
source your/path/to/.pyenv/versions/pesp_sdk_env/bin/activate
```
OPTIONAL step: sometimes Apple Mac shells raise issues while finding the shell path. If this happens, try this command:
```console
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
```
2 - Clone GitHub repository:
```console
git clone -b sdk_v0.1 --single-branch https://github.com/Telefonica/pesp_capif_sdk.git
```
```console
#Then move to the pesp_capif_sdk folder
cd /your/path/to/pesp_capif_sdk
```
3 - Install the Python requirements listed in requirements.txt file:
```console
cd installation
python -m pip install --upgrade pip
pip install -r requirements.txt
```
**Congratulations!** You have finalized the installation of OpenCAPIF SDK.