equinor / komodoenv

Komodoenv is the virtualenv of the Komodo world
GNU General Public License v3.0
1 stars 3 forks source link

Remove the need for Python.h workaround when using RH Py 3.8 #38

Closed pinkwah closed 1 year ago

pinkwah commented 2 years ago

Bottom of https://fmu-docs.equinor.com/docs/komodo/equinor_komodo_usage.html

NB if you are extending a Python 3.8 environment: If you are using a python package the builds from source and requires the Python development headers (Python.h) , then the include folders needs to be passed as build options to pip manually. The following command shows how: pip install --global-option=build_ext --global-option="-I/opt/rh/rh-python38/root/usr/include/python3.8" <your_package>