GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Deploy the Python Application Deploy the Python Application
Antonio Vivace edited this page
This process was tested on OS X, Ubuntu, Debian and Raspbian. If you're deploying on a Raspberry, your pip installation must have access to the pywheels repository. If you are on Raspbian Stretch you already have it enabled. If you are on Jessie, or on Stretch upgraded from Jessie, you need to enable this manually, following the instructions here. Anyway, we reccomend starting with a clean Raspbian Stretch image.
sudo 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 libhdf5-dev
sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main"
sudo apt update
sudo apt install libjasper1 libjasper-devNow, once you have the dependencies, git clone https://github.com/CoderBotOrg/coderbot.git cd coderbot python3 -m venv . source bin/activate pip3 install -r requirements_stub.txt # If you plan to run just the Stub mode, you don't need the following line pip3 install -r requirements.txt MAKE SURE that every package installation succedeed. pip stops at the first failure so an error compromise everything. If you have problems with ANY of the raspberry-specific python3 packages (piamera, tensorflow, tensorboard, pigpio, pyaudio) you can find ready builds here. Now, run the backend with
or for the Stub mode. Note that an error about PyAudio, similar to this is completely normal. Installation will proceed using |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |