Summary
Quick steps to install Flask-PyMongo package on Edge Software Catalog.
Description
- Added the following line to the requirements.txt file
- Flask-PyMongo==2.3.0
- Flask-PyMongo==2.3.0
- Rebuilt the image and ran into the following error:
ERROR: Service 'ia_web_visualizer' failed to build: The command '/bin/sh -c pip3 instlal -r requirements.txt' returned a non-zero code: 1
Resolution
Adding a new package requires an Internet Connection. If there is no internet connection any changes to the requirements.txt file will be reverted and the image will build from cache.
To install a new package:
- Establish an Internet Connection
- Ensure the proxy has been setup in the ~/.docker/config.json file
- Add the package name and version to the requirements.txt file
- Rebuilt the image