4 ms·
We really wanted to use Ansible but couldn't get it to work with virtualenvwrapper. Has anyone done this (easily)?
by v5out 13y ago
We really wanted to use Ansible but couldn't get it to work with virtualenvwrapper. Has anyone done this (easily)?
- mpdehaan2 13y agoNot sure about virtualenvwrapper, as the setup process does want to install some modules for you, but Ansible runs pretty easily from a straight checkout. Source ./hacking/env-setup from a checkout and you are running live from there. So you may wish to just install the python package and then set up your library directory.
- mmgutz 13y agoWierd, I haven't had any issues in my virtualenv. All I did was `pip install ansible`. The only hiccup was I had to `apt-get install python-dev` on Debian.
- e12e 13y agoFor those new to python/Debian this is an important point -- with python-dev and python-virtualenv installed (and also look out for "gcc" and/or "build-essential") -- generally a virtualenv made with "--no-site-packages" should have a fully working "pip" for installing most things. Gcc is sometimes needed to build (often optional) c extensions.