question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install fails when up-to-date python-dateutil is installed

See original GitHub issue

error: python-dateutil 2.7.0 is installed but python-dateutil<2.7.0,>=2.1 is required by {'botocore'}

Should the <2.7.0 part maybe be replaced with something like <3.0.0 or is python-dateutil known to break its API in minor updates?

This currently prevents me from using boto3 on a system.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:10
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
dennisjaccommented, Apr 5, 2018

But that makes the implicit assumption that if I have python-dateutil >=2.7.0 installed then I must also be running python 2.6 which isn’t correct. By making this assumption you now basically have stopped supporting all new systems out there.

python-dateutil-2.7.0 already specifies python2.7 as a requirement:

...
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*",
...

So if a user has python-dateutil-2.7 installed then he must be running at least python2.7 and there is no reason for boto3 not to install.

0reactions
no-response[bot]commented, May 21, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don’t have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No module named 'python-dateutil' - Finxter
The most frequent source of this error is that you haven't installed python-dateutil explicitly with pip install python-dateutil .
Read more >
Can't install python-dateutil - Stack Overflow
1 - Add the pip installation directory to your environment variable PATH. 2 - Open new Command prompt. 3 - Type pip install...
Read more >
ModuleNotFoundError: No module named 'dateutil' in Python
To solve the error, install the module by running the pip install python-dateutil command. no module named dateutil. Open your terminal in ......
Read more >
Importerror no module named dateutil : Multiple ways to Fix
You may easily fix the error importerror no module named dateutil by installing python-dateutil package via any of the package managers. In this...
Read more >
dateutil - powerful extensions to datetime — dateutil 2.8.2 ...
The dateutil module provides powerful extensions to the standard datetime module, available in Python. Installation¶. dateutil can be installed from PyPI using ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found