So, the packages used by the most users can be installed in the system distribution, and packages needed to only one user/product The packages installed in the system distribution ( PyMySQL, psycopg2, pymongo). In the Python virtual environment py-alerta for the user alerta, alerta packages are installed, but this environment can also use.The Python virtual environment py-influxdb is completely isolated with 2 packages installed. The virtual environment is indenpendent of the Python source distribution, however an option allows the use of the packages installed in the source distribution. A user can manage and run its own isolated environment without any package installation in the global Python distribution. The Python package virtualenv solves this kind of issue. By defaultĪll packages and dependencies are downloaded and installed in $PYTHON_HOME/lib/python/site-packages. It becomes tedious to manage polluting the Python global distribution : dependencies, package versions conflicts, binaries… Further more some packages Running setup.py install for Flask-Compress. Pyyaml, six, python-dateutil, pycparser, cffi, bcrypt, cryptography, pyparsing, Flask-Cors, MarkupSafe, Jinja2, Werkzeug, itsdangerous, click, Flask, blinker, sentry-sdk, Flask-Compress, pip3 install alerta-server Installing collected packages: pymongo, certifi, urllib3, chardet, idna, requests, pip3 search alerta alerta (7.4.0) - Alerta unified command-line tool and SDKĪlerta-server (7.4.1) - Alerta server WSGI application With Python, when installing a product, for example Alerta server, many dependencies can also be installed.
0 Comments
Leave a Reply. |