I had some problems with Mac OS Big Sur in building Python 3.7.3 but they were resolved with this patch:
CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.7.3 < <(curl -sSL
https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)
The installation steps went well and everything seems to be running in VirtualBox, Docker, and I am able to login to the administrator account on AWS. I am getting the following error:
$ fab -f dev_tools.py register_vm
Traceback (most recent call last):
File "/Users/jmcinerney/.pyenv/versions/3.7.3/lib/python3.7/site-packages/fabric/main.py", line 763, in main
*args, **kwargs
File "/Users/jmcinerney/.pyenv/versions/3.7.3/lib/python3.7/site-packages/fabric/tasks.py", line 427, in execute
results['<local-only>'] = task.run(*args, **new_kwargs)
File "/Users/jmcinerney/.pyenv/versions/3.7.3/lib/python3.7/site-packages/fabric/tasks.py", line 174, in run
return self.wrapped(*args, **kwargs)
File "/Users/jmcinerney/magma/lte/gateway/dev_tools.py", line 56, in register_vm
_register_agw(LTE_NETWORK_TYPE)
File "/Users/jmcinerney/magma/lte/gateway/dev_tools.py", line 98, in _register_agw
network_id, hw_id,
File "../../orc8r/tools/fab/dev_utils.py", line 221, in is_hw_id_registered
if gw['device']['hardware_id'] == hw_id:
KeyError: 'device'
Disconnecting from vag...@127.0.0.1:2222... done.
I have been digging into it with no luck yet. Do you have any suggestions for debugging this?