Ввел команду для установки приложения django-bootstrap3 в терминале Ubuntu и получил ошибку. Подробности ниже:
(11_env)konstantin@nikolay-P5Q-SE:~/Рабочий стол/learning_log$ sudo pip install django-bootstrap3
Downloading/unpacking django-bootstrap3
Downloading django-bootstrap3-12.0.3.tar.gz (47kB): 47kB downloaded
Running setup.py (pathtmp/pip_build_root/django-bootstrap3/setup.py) egg_info for package django-bootstrap3
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘long_description_content_type’
warnings.warn(msg)
Traceback (most recent call last):
File “<string>”, line 17, in <module>
File “/tmp/pip_build_root/django-bootstrap3/setup.py”, line 44, in <module>
“Framework :: Django”,
File “/usr/lib/python2.7/distutils/core.py”, line 111, in setup
_setup_distribution = dist = klass(attrs)
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 243, in __init__
_Distribution.__init__(self,attrs)
File “/usr/lib/python2.7/distutils/dist.py”, line 287, in __init__
self.finalize_options()
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 277, in finalize_options
ep.load()(self, ep.name, value)
File “/tmp/pip_build_root/django-bootstrap3/setuptools_scm-3.5.0-py2.7.egg/setuptools_scm/integration.py”, line 9, in version_keyword
File “/tmp/pip_build_root/django-bootstrap3/setuptools_scm-3.5.0-py2.7.egg/setuptools_scm/version.py”, line 66, in _warn_if_setuptools_outdated
setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)
Complete output from command python setup.py egg_info:
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: ‘long_description_content_type’
warnings.warn(msg)
Traceback (most recent call last):
File “<string>”, line 17, in <module>
File “/tmp/pip_build_root/django-bootstrap3/setup.py”, line 44, in <module>
“Framework :: Django”,
File “/usr/lib/python2.7/distutils/core.py”, line 111, in setup
_setup_distribution = dist = klass(attrs)
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 243, in __init__
_Distribution.__init__(self,attrs)
File “/usr/lib/python2.7/distutils/dist.py”, line 287, in __init__
self.finalize_options()
File “/usr/lib/python2.7/dist-packages/setuptools/dist.py”, line 277, in finalize_options
ep.load()(self, ep.name, value)
File “/tmp/pip_build_root/django-bootstrap3/setuptools_scm-3.5.0-py2.7.egg/setuptools_scm/integration.py”, line 9, in version_keyword
File “/tmp/pip_build_root/django-bootstrap3/setuptools_scm-3.5.0-py2.7.egg/setuptools_scm/version.py”, line 66, in _warn_if_setuptools_outdated
setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)
—————————————-
Cleaning up…
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/django-bootstrap3
Storing debug log for failure in /home/konstantin/.pip/pip.log
Как исправить эту ошибку?