Create virtual environment for development (only once)

  1. Install python3 and pip3

    $ sudo apt-get -y update

    $ sudo apt-get -y upgrade

    $ sudo apt-get -y install python3-pip python3-venv

  2. Open new terminal, create virtualenv

    $ python3 -m venv py3

  3. Create entry in .bashrc in ubuntu

    $ echo "alias py3=' . ~/py3/bin/activate' " >> ~/.bashrc

  4. Reload bash

    $ source ~/.bashrc

  5. Activate virtualenv and install rpyc package

    $ py3

    $ pip install rpyc==4.1.2