K
K
kuzdman2019-02-19 16:18:38
Python
kuzdman, 2019-02-19 16:18:38

Why does pip update fail?

I update pip with the command: I
python -m pip install --upgrade pip
get an error:

sanetime 4.2.3 has requirement python-dateutil<2.0,>=1.5, but you'll have python-dateutil 2.8.0 which is incompatible.

What does it mean?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2019-02-19
@sergey-gornostaev

So you have a dependency conflict. You will either have to remove sanetime or roll back python-dateutil to version 1.5.

R
Roman Kitaev, 2019-02-19
@deliro

This means you have a version of the sanetime package installed that requires a version of python-dateutil that is not in the required pip version range.
First run
pip install -U sanetime
Then update pip

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question