-
curl https://pyenv.run | bash
-
sudo nano ~/.bashrc
Add the following three lines to the botton of the .bashrc file
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv virtualenv-init -)"
-
exec $SHELL
-
sudo apt-get install --yes libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libgdbm-dev lzma lzma-dev tcl-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev wget curl make build-essential openssl
-
pyenv update
-
pyenv install –list
-
pyenv install 3.8.0
//Recommended version -
pyenv global 3.8.0
-
sudo apt update
-
sudo apt full-upgrade
-
mkdir project
-
cd project
-
python3 -m pip install virtualenv
-
python3 -m virtualenv env
// env is environment name -
source env/bin/activate
-
sudo apt-get install -y libhdf5-dev libc-ares-dev libeigen3-dev gcc gfortran libgfortran5 libatlas3-base libatlas-base-dev libopenblas-dev libopenblas-base libblas-dev liblapack-dev cython3 libatlas-base-dev openmpi-bin libopenmpi-dev python3-dev
-
pip install -U wheel mock six
pip install Requirements.txt
- Transfer this folder (Client) to IoT device using WinSCP FTP software
- Install IoTivity 2.2.2. on IoT Device from GitHub Repository
- Start DT application of Client
python App.py