skip to Main Content

Gitlab CI with Ansible – Debian

I am creating a pipeline which is automatically triggered when I push my code on gitlab.com. The project is about the provisioning of a machine. Here my .gitlab-ci.yml file ansible_build: image: debian:10 script: - apt-get update -q -y - apt-get…

VIEW QUESTION

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