Installing Python Packages

See Python usage notes for basic information.

General Guidance (always try RPM first!)

For packages not listed in the above table, first check if it’s available via yum. If so, it is recommended to install it through yum instead of installing it using pip.

Installing native code with pip

If you must install using pip, make sure to invoke pip correctly (see Python usage notes)

Also, you may need to install development tools, like gcc and automake, which you can often do a la carte (yum install gcc automake) or you may need to install the “Development Tools” group (yum group install "Development Tools").

You will also need to set the following environment variables for build:

  • OBJECT_MODE=64

If you have issues that you cannot debug, feel free to join the community channels documented here!