-1

I am trying to import changelist_ordering. So I have tried to install the package django-changelist-ordering. But I am getting the error:

No matching distribution found for changelist-ordering

Can anyone help me to solve this issues.

Wtower
  • 18,848
  • 11
  • 103
  • 80
Python Team
  • 1,143
  • 4
  • 21
  • 50
  • Do you mean [this](https://github.com/SergeyKubrak/django-changelist-ordering)? *How* are you trying to install it? – jonrsharpe Jul 20 '15 at 07:39
  • using pip command - pip install django-changelist-ordering – Python Team Jul 20 '15 at 07:39
  • Did you look on PyPI? It doesn't appear to be there (https://pypi.python.org/pypi?%3Aaction=search&term=changelist+ordering&submit=search), so you will probably have to install it direct from GitHub. – jonrsharpe Jul 20 '15 at 07:42
  • Go and find out! But note that the package hasn't been updated in three years, so may not be worth the effort... – jonrsharpe Jul 20 '15 at 07:45
  • try to download package from https://github.com/SergeyKubrak/django-changelist-ordering/archive/master.zip , unzip it and then install from `Terminal` with `python /path/to/unzipped/django-changelist-ordering-master/setup.py install` – Andersson Jul 20 '15 at 09:28
  • @Andersson : Got it thanks :) – Python Team Jul 20 '15 at 09:33

1 Answers1

-1

First of all install changelist-ordering by performing the following steps:

  • git clone https://github.com/SergeyKubrak/django-changelist-ordering
  • cd django-changelist-ordering
  • sudo python setup.py build
  • sudo python setup.py install

or you can install the package by running just one command (@jonrsharpe):

pip install git+https://github.com/SergeyKubrak/django-changelist-ordering

Now in your projects settings, include the app changelist_ordering in your INSTALLED_APPS

and then wherever you wanna use ChangeListOrdering import as

from changelist_ordering.admin import ChangeListOrdering

If this also does not work for you, check whether the module is installed in your virtual environment or not with

pip list | grep changelist-ordering

This should get you a result if changelist-ordering is present in your virtual environment else your Django application is trying to access the module which is not present in your virtual environment.

Community
  • 1
  • 1
Arpit Goyal
  • 2,212
  • 11
  • 31