I can't figure it out and any solution googled so far han't solved my issue. I have RHEL 9 sever with Python 3.9. I create virtual environment for some Python project I want to run on the server. Venv is created for my user (not sudo). Now, I can run Python (eg. python --version), but any use of pip results with Operation not permitted error (ansibleTest) [usr@srv Ansible_Project]$ pip --vesion -bash: /home/usr/Ansible_Ansible_Project/ansiblePA/bin/pip: /home/usr/Ansible_Project/ansibleTest/bin/python: bad interpreter: Operation not permitted RedHat is company managed, but there is no selinux enabled. I already tried changing ownership and add execution permissions recuresively for whole venv. I tried to run pip using full path. I tried to create venv in different locations and even using other interpreter (python3.11 installed for Netbox). Only thing that works is using sudo to elevate permission, but it won't allow me to install packages in venv. Any idea why do I face this permission issues? Where could this permission issue be located? Continue reading...