$ apt-get install zlib1g-dev libbz2-dev liblzma-dev libjpeg62 libjpeg62-dev
$ python3 -m venv ansible
$ python3 -m pip install --upgrade pip
$ python3 -m pip install pillow
$ python3 -m pip install rust
$ python3 -m pip install setuptools-rust
$ python3 -m pip install ansible
This is just what I had to add to what had been a functional ansible venv running again. Oh, and there was some apt-get install python3.8 and some update-alternatives crap going on, too. That one python library is causing major headaches for ubuntu 18.04 LTS.
1条答案
按热度按时间vlju58qv1#
看起来加密包(截至今天)现在需要添加setuptools-rust,它依赖于Rust和一堆新的系统库来复制所有原始的加密调用。这是一个主要的痛苦,而且pip对新DEPS的列表没有太大帮助!
嗯。
下面是我为了让ansible安装在新系统上而不得不构建的所有新垃圾的完整列表。这是从我的bash历史中衍生出来的,当时我通过安装尝试,检查错误,手动添加更多的包,泡沫冲洗重复了一个多小时。