elegant-zoo-49348
08/01/2023, 6:49 PMcan't find '__main__' module in '{pex-name}.pex'
any ideas on what might be causing this error/how to resolve this?happy-kitchen-89482
08/01/2023, 9:39 PMelegant-zoo-49348
08/01/2023, 9:48 PMhappy-kitchen-89482
08/02/2023, 6:43 AMelegant-zoo-49348
08/02/2023, 9:34 PMelegant-zoo-49348
08/02/2023, 11:02 PMpython_sources(
dependencies=[
"3rdparty/pandas_1_2#pandas",
"3rdparty/cbml",
],
)
caused the issue, and the issue was fixed after specifying the precise dependency of our internal cbml library used by the code within the scope of the BUILD file
python_sources(
dependencies=[
"3rdparty/pandas_1_2#pandas",
"3rdparty/cbml#snowflake-connector-python",
],
)
any ideas why the first BUILD file might cause the
can't find '__main__' module in '{pex-name}.pex'
error?happy-kitchen-89482
08/03/2023, 7:31 AMelegant-zoo-49348
08/03/2023, 4:09 PMpython_requirements(
module_mapping={
"python-json-logger": ["pythonjsonlogger"],
"scikit-learn": ["sklearn"],
"boto3-stubs": ["mypy_boto3_s3"],
"imbalanced-learn": ["imblearn"],
},
)
happy-kitchen-89482
08/03/2023, 5:50 PMhappy-kitchen-89482
08/03/2023, 5:51 PMelegant-zoo-49348
08/04/2023, 4:51 AMelegant-zoo-49348
08/04/2023, 4:53 AMpython-json-logger==2.0.2
sklearn==0.0
boto3-stubs==1.18.35
imbalanced-learn==0.8.0
happy-kitchen-89482
08/04/2023, 5:17 AMelegant-zoo-49348
08/04/2023, 6:48 PMhappy-kitchen-89482
08/05/2023, 2:26 PM