Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Dependency issues when compiling on jacinto6 plus board #197

@deepthi-lnt

Description

@deepthi-lnt

I am running the command
onhosted.orgevm:~/uptane# pip3 install --force-reinstall -r dev-requirements.txt --trusted-host pypi.org --trusted-host files.pythonhosted.org

The log is as below with pynacl failure please let me know how to sort it

Obtaining file:///home/root/uptane (from -r dev-requirements.txt (line 8))
Collecting canonicaljson==1.1.4 (from -r dev-requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/59/8d/791b6b9a297a4ff982bb51e5d5248dbd4367215f1eeb5a97da51e70585c7/canonicaljsol
Collecting cffi==1.11.5 (from -r dev-requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.)
|################################| 440kB 32kB/s
Collecting cryptography==2.3 (from -r dev-requirements.txt (line 3))
Downloading https://files.pythonhosted.org/packages/79/a2/61c8625f96c8582d3053f89368c483ba62e56233d055e58e372f94a393f0/cryptography)
|################################| 450kB 99kB/s
Collecting pynacl==1.2.1 (from -r dev-requirements.txt (line 4))
Downloading https://files.pythonhosted.org/packages/08/19/cf56e60efd122fa6d2228118a9b345455b13ffe16a14be81d025b03b261f/PyNaCl-1.2.1)
|################################| 3.3MB 1.0MB/s
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "/usr/lib/python3.5/urllib/request.py", line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.5/http/client.py", line 1107, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.5/http/client.py", line 1152, in _send_request
self.endheaders(body)
File "/usr/lib/python3.5/http/client.py", line 1103, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/usr/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/usr/lib/python3.5/site-packages/setuptools/ssl_support.py", line 191, in connect
self.sock = ctx.wrap_socket(sock, server_hostname=actual_host)
File "/usr/lib/python3.5/ssl.py", line 385, in wrap_socket
_context=self)
File "/usr/lib/python3.5/ssl.py", line 760, in init
self.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 996, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.5/ssl.py", line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:728)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 766, in open_url
    return open_with_auth(url, self.opener)
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 961, in _socket_timeout
    return func(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 1080, in open_with_auth
    fp = opener(request)
  File "/usr/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/usr/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/site-packages/setuptools/ssl_support.py", line 161, in https_open
    lambda host, **kw: VerifyingHTTPSConn(host, self.ca_bundle, **kw), req
  File "/usr/lib/python3.5/urllib/request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:728)>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-m0sfya43/pynacl/setup.py", line 251, in <module>
    "Programming Language :: Python :: 3.6",
  File "/usr/lib/python3.5/site-packages/setuptools/__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.5/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3.5/site-packages/setuptools/dist.py", line 717, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/usr/lib/python3.5/site-packages/setuptools/dist.py", line 784, in fetch_build_egg
    return cmd.easy_install(req)
  File "/usr/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 667, in easy_install
    not self.always_copy, self.local_index
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 655, in fetch_distribution
    dist = find(requirement)
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 635, in find
    loc = self.download(dist.location, tmpdir)
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 579, in download
    found = self._download_url(scheme.group(1), spec, tmpdir)
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 824, in _download_url
    return self._attempt_download(url, filename)
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 830, in _attempt_download
    headers = self._download_to(url, filename)
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 729, in _download_to
    fp = self.open_url(url)
  File "/usr/lib/python3.5/site-packages/setuptools/package_index.py", line 780, in open_url
    % (url, v.reason))
distutils.errors.DistutilsError: Download error for https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd6)
----------------------------------------

ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-m0sfya43/pynacl/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions