Skip to content

Deploy the Python Application

Antonio Vivace edited this page May 18, 2018 · 17 revisions

Prerequisites:

  • portaudio19-dev (to compile pyaudio)
  • git
  • python3
  • python3-pip
  • python3-venv
  • libopenjp2-7-dev libtiff5 (pillow)
apt install portaudio19-dev git python3-pip python3 python3-venv libopenjp2-7-dev libtiff5 libatlas-base-dev libhdf5-dev libhdf5-serial-dev python-gobject libharfbuzz-bin libwebp6 libjasper1 libilmbase12 libgstreamer1.0-0 libavcodec-extra57 libavformat57 libopencv-dev libqtgui4 libqt4-test omxplayer
mkdir cbenv
cd cbenv
python3 -m venv .
source bin/activate
git clone https://github.com/CoderBotOrg/coderbot.git --branch deployable
pip3 install -r coderbot/requirements.txt
cd coderbot
python3 init.py

Currently broken/disabled: pubsub (events, unknown pip3 package), CNN models (model.json not found?), google cloud speech recognition (api key missing).

Clone this wiki locally