A
A
Antigo_ptz2017-03-09 11:33:44
Django
Antigo_ptz, 2017-03-09 11:33:44

What happens when you downgrade a Django library?

People, what will happen in the virtual environment if there is a library, let's say django-url-filter version 0.3.0, and I will put django-url-filter version 0.2.0 on top. Will the previous higher version be overwritten or will they be installed together?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Salavat Sharapov, 2017-03-09
@desperadik

(tezst) [email protected]:~/job/$ pip install django-url-filter==0.3.0
Collecting django-url-filter==0.3.0
  Downloading django_url_filter-0.3.0-py2.py3-none-any.whl
Collecting cached-property (from django-url-filter==0.3.0)
  Downloading cached_property-1.3.0-py2.py3-none-any.whl
Installing collected packages: cached-property, django-url-filter
Successfully installed cached-property-1.3.0 django-url-filter-0.3.0

(tezst) [email protected]:~/job/$ pip install django-url-filter==0.2.0
Collecting django-url-filter==0.2.0
  Downloading django-url-filter-0.2.0.tar.gz
Building wheels for collected packages: django-url-filter
  Running setup.py bdist_wheel for django-url-filter ... done
  Stored in directory: /home/des/.cache/pip/wheels/05/9a/80/4e2e9dacdb91607accafb71c72df59b561c5f51549f4da3e13
Successfully built django-url-filter
Installing collected packages: django-url-filter
  Found existing installation: django-url-filter 0.3.0
    Uninstalling django-url-filter-0.3.0:
      Successfully uninstalled django-url-filter-0.3.0
Successfully installed django-url-filter-0.2.0

Retire!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question