AwsPlatform nodetype deployment fails when executed from within virtualenv
duelle opened this issue · 1 comments
duelle commented
When the deployment using the AwsPlatform nodetype is triggered by an application within a Python virtual environment (virtualenv
), the hardcoded --user
flags for the pip install
commands in the configure.yaml
[1] seem to lead to an error message and a failure of the respective deployment.
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv."
Once the --user
flag was removed manually/locally, the issue went away.
In my opinion the playbooks should only alter user- or system-wide state if really necessary. Otherwise, maybe doing that in a virtualenv
would be better suited.