Through Tox i am trying to run a unit test in my local. The test seems to fail, giving me the following error:
from aws_xray_sdk import global_sdk_config
E ImportError: cannot import name 'global_sdk_config' from 'aws_xray_sdk'
Looking at the package installed in virtaul environment created by tox, i see the following files in aws_sray_sdk :
Upon closer insepection, i see when i had created virtual environment myself (without tox) and run pip install aws-xray-sdk, i also see sdk_config.py and version.py in package aws_sdk_xray as shown below:
Can someone please help me with this.