LoginSignup
4
2

More than 5 years have passed since last update.

ansible-containerのインストール時にエラー

Last updated at Posted at 2018-11-23

問題

ansible-containerをインストールしようした際に、下記のようなエラーが発生。

[root@localhost ~]# pip install ansible-container
Collecting ansible-container
  Using cached https://files.pythonhosted.org/packages/bc/2a/b1252de3931173d26a30fc965be33c9cc0044cf7b23ce4c707f55d86830c/ansible-container-0.9.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-la0j9y/ansible-container/setup.py", line 10, in <module>
        from pip.req import parse_requirements
    ImportError: No module named req

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-la0j9y/ansible-container/

workAround

pip install --force-reinstall pip==9.0.3

所感

  • pipのバージョンとansible-containerの相性の問題だろうか?
  • ansible-container自体がまだv.1.0にはなってないので、いろいろ起きそう。
4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2