I'm trying to install this plugin on awx 19.0.0 and awx-python is not available on awx containers.
I tried to run pip install in the awx venv but it gives me permission denied
bash-4.4$ source /var/lib/awx/venv/awx/bin/activate
(awx) bash-4.4$ umask 0022
(awx) bash-4.4$ pip install git+https://github.com/ansible/awx-custom-credential-plugin-example.git
Collecting git+https://github.com/ansible/awx-custom-credential-plugin-example.git
Cloning https://github.com/ansible/awx-custom-credential-plugin-example.git to /tmp/pip-req-build-db6y3bp1
Running command git clone -q https://github.com/ansible/awx-custom-credential-plugin-example.git /tmp/pip-req-build-db6y3bp1
Building wheels for collected packages: awx-custom-credential-plugin-example
Building wheel for awx-custom-credential-plugin-example (setup.py) ... done
Created wheel for awx-custom-credential-plugin-example: filename=awx_custom_credential_plugin_example-0.1-cp38-none-any.whl size=3022 sha256
=32cf8f85cc7048319b1c62e3a2476c5ad4f5a38fc312fe82f05278dca19c5aba
Stored in directory: /tmp/pip-ephem-wheel-cache-01r9rhio/wheels/9e/ca/83/082ceb10e21c4bebba143cb4ca429239562222add1af3c41bd
Successfully built awx-custom-credential-plugin-example
Installing collected packages: awx-custom-credential-plugin-example
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/var/lib/awx/venv/awx/lib/python3.8/site-packages
/awx_custom_credential_plugin_example-0.1.dist-info'
Consider using the `--user` option or check the permissions.
WARNING: You are using pip version 19.3.1; however, version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(awx) bash-4.4$ pip install git+https://github.com/ansible/awx-custom-credential-plugin-example.git --user
Collecting git+https://github.com/ansible/awx-custom-credential-plugin-example.git
Cloning https://github.com/ansible/awx-custom-credential-plugin-example.git to /tmp/pip-req-build-o_6fjrmn
Running command git clone -q https://github.com/ansible/awx-custom-credential-plugin-example.git /tmp/pip-req-build-o_6fjrmn
Building wheels for collected packages: awx-custom-credential-plugin-example
Building wheel for awx-custom-credential-plugin-example (setup.py) ... done
Created wheel for awx-custom-credential-plugin-example: filename=awx_custom_credential_plugin_example-0.1-cp38-none-any.whl size=3022 sha256
=317d9947c69282fd52bc836b7892333e280c4bad073a7a3e3f7f3487b95e728a
Stored in directory: /tmp/pip-ephem-wheel-cache-ctddc0mf/wheels/9e/ca/83/082ceb10e21c4bebba143cb4ca429239562222add1af3c41bd
Successfully built awx-custom-credential-plugin-example
Installing collected packages: awx-custom-credential-plugin-example
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/var/lib/awx/.local/lib'
Check the permissions.
WARNING: You are using pip version 19.3.1; however, version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
I'm trying to install this plugin on awx 19.0.0 and awx-python is not available on awx containers.
I tried to run pip install in the awx venv but it gives me permission denied