root@zap4:/var/www/html/app/contactsync/sync/InfraMarket# pip install Django==2.1 ERROR: Exception: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 189, in _main status = self.run(options, args) File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper return func(self, options, args) File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 267, in run session = self.get_default_session(options) File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 76, in get_default_session self._session = self.enter_context(self._build_session(options)) File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 93, in _build_session index_urls=self._get_index_urls(options), File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/session.py", line 245, in __init__ self.headers["User-Agent"] = user_agent() File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/session.py", line 132, in user_agent zip(["name", "version", "id"], distro.linux_distribution()), File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 125, in linux_distribution return _distro.linux_distribution(full_distribution_name) File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 681, in linux_distribution self.version(), File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 741, in version self.lsb_release_attr('release'), File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 903, in lsb_release_attr return self._lsb_release_info.get(attribute, '') File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 556, in __get__ ret = obj.__dict__[self._fname] = self._f(obj) File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 1014, in _lsb_release_info stdout = subprocess.check_output(cmd, stderr=devnull) File "/usr/local/lib/python3.6/subprocess.py", line 356, in check_output **kwargs).stdout File "/usr/local/lib/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1. Traceback (most recent call last): File "/bin/pip", line 8, in sys.exit(main()) File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/main.py", line 73, in main return command.main(cmd_args) File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 111, in main return self._main(args) File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 226, in _main self.handle_pip_version_check(options) File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 148, in handle_pip_version_check timeout=min(5, options.timeout) File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 93, in _build_session index_urls=self._get_index_urls(options), File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/session.py", line 245, in __init__ self.headers["User-Agent"] = user_agent() File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/session.py", line 132, in user_agent zip(["name", "version", "id"], distro.linux_distribution()), File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 125, in linux_distribution return _distro.linux_distribution(full_distribution_name) File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 681, in linux_distribution self.version(), File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 741, in version self.lsb_release_attr('release'), File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 903, in lsb_release_attr return self._lsb_release_info.get(attribute, '') File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 556, in __get__ ret = obj.__dict__[self._fname] = self._f(obj) File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 1014, in _lsb_release_info stdout = subprocess.check_output(cmd, stderr=devnull) File "/usr/local/lib/python3.6/subprocess.py", line 356, in check_output **kwargs).stdout File "/usr/local/lib/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.