Python 3 How to Install and Uninstall Packages using PIP

Описание к видео Python 3 How to Install and Uninstall Packages using PIP

Python 3 How to Install and Uninstall Python Packages using PIP
python 3.6
sudo apt install python3-pip
sudo python3 -m pip install Django
sudo python3 -m pip show Django
sudo python3 -m pip uninstall Django

python 2.7
sudo apt install python-pip
sudo python -m pip install Django
sudo python -m pip show Django
sudo python -m pip uninstall Django

1)
sudo python -m pip install Django

$ sudo python -m pip show django
Name: Django
Version: 1.11.11
Summary: A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Home-page: https://www.djangoproject.com/
Author: Django Software Foundation
Author-email: [email protected]
License: BSD
Location: /usr/local/lib/python2.7/dist-packages
Requires: pytz

2)
sudo python3 -m pip install Django

$ sudo python3 -m pip show django
Name: Django
Version: 2.0.3
Summary: A high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Home-page: https://www.djangoproject.com/
Author: Django Software Foundation
Author-email: [email protected]
License: BSD
Location: /usr/local/lib/python3.6/dist-packages
Requires: pytz

Комментарии

Информация по комментариям в разработке