From error, 3 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and Untitled
  1. root@zap4:/var/www/html/app/contactsync/sync/InfraMarket# pip install Django==2.1
  2. span style="color: firebrick; font-weight: bold;"> ERROR: Exception:
  3. Traceback (most recent call last):
  4.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 189, in _main
  5.     status = self.run(options, args)
  6.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 178, in wrapper
  7.     return func(self, options, args)
  8.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/commands/install.py", line 267, in run
  9.     session = self.get_default_session(options)
  10.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 76, in get_default_session
  11.     self._session = self.enter_context(self._build_session(options))
  12.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 93, in _build_session
  13.     index_urls=self._get_index_urls(options),
  14.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/session.py", line 245, in __init__
  15.     self.headers["User-Agent"] = user_agent()
  16.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/session.py", line 132, in user_agent
  17.     zip(["name", "version", "id"], distro.linux_distribution()),
  18.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 125, in linux_distribution
  19.     return _distro.linux_distribution(full_distribution_name)
  20.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 681, in linux_distribution
  21.     self.version(),
  22.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 741, in version
  23.     self.lsb_release_attr('release'),
  24.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 903, in lsb_release_attr
  25.     return self._lsb_release_info.get(attribute, '')
  26.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 556, in __get__
  27.     ret = obj.__dict__[self._fname] = self._f(obj)
  28.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 1014, in _lsb_release_info
  29.     stdout = subprocess.check_output(cmd, stderr=devnull)
  30.   File "/usr/local/lib/python3.6/subprocess.py", line 356, in check_output
  31.     **kwargs).stdout
  32.   File "/usr/local/lib/python3.6/subprocess.py", line 438, in run
  33.     output=stdout, stderr=stderr)
  34. subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
  35. Traceback (most recent call last):
  36.   File "/bin/pip", line 8, in <module>
  37.     sys.exit(main())
  38.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/main.py", line 73, in main
  39.     return command.main(cmd_args)
  40.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 111, in main
  41.     return self._main(args)
  42.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/base_command.py", line 226, in _main
  43.     self.handle_pip_version_check(options)
  44.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 148, in handle_pip_version_check
  45.     timeout=min(5, options.timeout)
  46.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/cli/req_command.py", line 93, in _build_session
  47.     index_urls=self._get_index_urls(options),
  48.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/session.py", line 245, in __init__
  49.     self.headers["User-Agent"] = user_agent()
  50.   File "/usr/local/lib/python3.6/site-packages/pip/_internal/network/session.py", line 132, in user_agent
  51.     zip(["name", "version", "id"], distro.linux_distribution()),
  52.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 125, in linux_distribution
  53.     return _distro.linux_distribution(full_distribution_name)
  54.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 681, in linux_distribution
  55.     self.version(),
  56.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 741, in version
  57.     self.lsb_release_attr('release'),
  58.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 903, in lsb_release_attr
  59.     return self._lsb_release_info.get(attribute, '')
  60.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 556, in __get__
  61.     ret = obj.__dict__[self._fname] = self._f(obj)
  62.   File "/usr/local/lib/python3.6/site-packages/pip/_vendor/distro.py", line 1014, in _lsb_release_info
  63.     stdout = subprocess.check_output(cmd, stderr=devnull)
  64.   File "/usr/local/lib/python3.6/subprocess.py", line 356, in check_output
  65.     **kwargs).stdout
  66.   File "/usr/local/lib/python3.6/subprocess.py", line 438, in run
  67.     output=stdout, stderr=stderr)
  68. subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.