skip to Main Content

psutil fails to pip install inside python3 virtualenv: fatal error: Python.h: No such file or directory – CentOS

I created a Python3 virtualenv in order to run Tower jobs in python3 now that python2 is EOL. I followed the instructions here: https://docs.ansible.com/ansible-tower/latest/html/upgrade-migration-guide/virtualenv.html but psutil failed to install with this error: python36/root/usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o psutil/_psutil_common.c:9:20: fatal error:…

VIEW QUESTION
Back To Top
Search