recipe for target 'install_egg' failed

17 views
Skip to first unread message

alaa.nabi...@gmail.com

unread,
Jun 19, 2020, 8:23:49 PM6/19/20
to magma-dev
hi guys,
i'm trying to install AGW, i installed virtualbox and vagrant.."vagrant up magma" step goes with no errors.. but the "make run" step has the error shown below and it keeps showing up though i'm on the latest version of the branch and i installed all the necessary modules
host: ubuntu 16.04

Installing egg link for orc8r
/home/vagrant/build/python/bin/pip3 install -q -U --cache-dir ~/.pipcache -e .[dev]
ERROR: Exception:
Traceback (most recent call last):
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/cli/base_command.py", line 188, in _main
    status = self.run(options, args)
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/cli/req_command.py", line 185, in wrapper
    return func(self, options, args)
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/commands/install.py", line 333, in run
    reqs, check_supported_wheels=not options.target_dir
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/resolution/legacy/resolver.py", line 179, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/resolution/legacy/resolver.py", line 362, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/resolution/legacy/resolver.py", line 314, in _get_abstract_dist_for
    abstract_dist = self.preparer.prepare_linked_requirement(req)
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/operations/prepare.py", line 469, in prepare_linked_requirement
    hashes=hashes,
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/operations/prepare.py", line 264, in unpack_url
    unpack_file(file.path, location, file.content_type)
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/utils/unpacking.py", line 252, in unpack_file
    flatten=not filename.endswith('.whl')
  File "/home/vagrant/build/python/lib/python3.5/site-packages/pip/_internal/utils/unpacking.py", line 114, in unzip_file
    zip = zipfile.ZipFile(zipfp, allowZip64=True)
  File "/usr/lib/python3.5/zipfile.py", line 1026, in __init__
    self._RealGetContents()
  File "/usr/lib/python3.5/zipfile.py", line 1094, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
/home/vagrant/magma/orc8r/gateway/python/python.mk:103: recipe for target 'install_egg' failed
make[2]: *** [install_egg] Error 2
make[2]: Leaving directory '/home/vagrant/magma/orc8r/gateway/python'
Makefile:16: recipe for target '/home/vagrant/magma/orc8r/gateway/python_build' failed
make[1]: *** [/home/vagrant/magma/orc8r/gateway/python_build] Error 2
make[1]: Leaving directory '/home/vagrant/magma/lte/gateway/python'
Makefile:78: recipe for target 'build_python' failed
make: *** [build_python] Error 2

Reply all
Reply to author
Forward
0 new messages