Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Install is incompatible with pip 10.0 #24

Open
jcberthon opened this issue Jul 9, 2018 · 1 comment
Open

Install is incompatible with pip 10.0 #24

jcberthon opened this issue Jul 9, 2018 · 1 comment

Comments

@jcberthon
Copy link

I have been trying to build a Docker image for glances, but I get the following error:

W: --force-yes is deprecated, use one of the options starting with --allow instead.
Install dependancies
Collecting pip
  Downloading https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl (1.3MB)
Installing collected packages: pip
  Found existing installation: pip 8.1.1
    Not uninstalling pip at /usr/lib/python2.7/dist-packages, outside environment /usr
Successfully installed pip-10.0.1
Traceback (most recent call last):
  File "/usr/bin/pip", line 9, in <module>
    from pip import main
ImportError: cannot import name main
The command '/bin/sh -c curl -L https://raw.githubusercontent.com/nicolargo/glancesautoinstall/master/install.sh | /bin/bash && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1

I've tried with Ubuntu Xenial and Bionic as base image. I've tried the develop and release/glances2 branches. Always the same error.

@pawel-lmcb
Copy link

@jcberthon can you verify this isn't related to the pip10 bug pypa/pip#5240

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants