Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip can't find django 3.x - ERROR: No matching distribution found for django==3.0.4

When I run:

pip3 install django==3.0.5

I get the error

ERROR: Could not find a version that satisfies the requirement django==3.0.5 (from versions: 1.1.3, ... 2.2.11, 2.2.12) ERROR: No matching distribution found for django==3.0.4

I need to update some references somewhere, but I am not sure how. Plz Help.

like image 317
Alejandro Veintimilla Avatar asked Apr 02 '20 21:04

Alejandro Veintimilla


Video Answer


1 Answers

As noted in the comments, Django 3.x is only available for Python 3.6 or greater. If you attempt to install Django 3 while using an older version of Python (e.g. Python 3.5 in the case of the OP), pip will be unable to find a matching package.

The solution is to simply upgrade to a more modern version of Python.

like image 61
Brian Avatar answered Sep 17 '22 19:09

Brian