Circle CI showing my python modules as "No Module Named ( )" but work on local level w/ vs code

==================================== ERRORS ====================================
____________________ ERROR collecting tests/ _____________________
ImportError while importing test module ‘/home/circleci/repo/tests/’.
Hint: make sure your test modules/packages have valid Python names.
/usr/local/lib/python3.7/importlib/ in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/ in
from import awsnew
src/aws/ in
import AWSIoTMQTTClient
E ModuleNotFoundError: No module named ‘AWSIoTMQTTClient’

Any solutions to get this to be successful? Thank you in advance.

Hi @ASiar88,

Let’s verify that AWSIoTPythonSDK is installed in your build environment. Can you SSH into your build and do this? You can install AWSIoTPythonSDK by running pip install AWSIoTPythonSDK. Can you also make sure from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTClient is included in your build script?

Let me know how it goes and what you find.