Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

"No matching distribution" for pip install on WSL

I am using WSL2 Ubuntu on Windows 10 and trying to perform
pip3 install django-tasks-scheduler
but it returns:

ERROR: Could not find a version that satisfies the requirement django-tasks-scheduler (from versions: none)
ERROR: No matching distribution found for django-tasks-scheduler

Same command works fine in my Windows’ PowerShell

I’ve also tried python3 -m pip install django-tasks-scheduler but the result remained the same. My venv was created just after running pip install --upgrade pip and pip install -U pip inside of it.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Edit1:
Python 3.8.10
Django==4.2.7

>Solution :

As already noted in the comments, django-tasks-scheduler requires Python 3.9 or later. Even its earliest version, 1.0.0, requires Python 3.9 or later.

So if you want to use django-tasks-scheduler, you may want to install a newer version of Python than 3.8.

Presumably, in Windows Powershell, you are using a more recent version of Python, while your WSL Ubuntu has a default Python version of 3.8.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading