Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This question was answered by @aha:
The key part of the error message is:
File "./app/__init__.py", line 2, in <module> import pylab as pl ImportError: No module named pylabPython can’t find the
pylabmodule, which means you may not have installed / properly installed the matplotlib/numpy/scipy combo of modules.Starting from a brand new CentOS instance, the process would look like:
- Get all the python/pip stuff required to install and build matplotlib/numpy/scipy
yum install -y epel-release yum install -y python-pip yum install -y gcc gcc-c++ python-argparse python-devel freetype-devel libpng-devel python-tools
- Pip install matplotlib/numpy/scipy:
pip install numpy scipy matplotlibOnce all that succeeds, try running your app again, see what happens!
If you are using an IDE make sure that the path to the interpreter is referencing the pip modules inside the virtual environment of your project and not referencing the pip files for the system as a whole.
These are the steps in PyCharm running on Mac:
This comment has been deleted