I finally manage to install the xblock.
The problem was that I missed the step of activating the edxapp user on bitnami, so I wasn't installing it on the proper environment.
The steps for installing on bitnami are:
sudo -H pip install git+https://github.com/path_to_the_repository
And that´s it !