You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to use this library to run pytests on sparkML code using the SynapseML package from microsoft. My code runs fine when using spark-submit, however after including the following in my pytest.ini, I still receive a ModuleNotFound error when trying to run my pytests. relevant code is below:
from synapse.ml.lightgbm import LightGBMRegressor as sparkLightGBMRegressor
error
ImportError while importing test module '/Users/alpenkar/Documents/Code/fw-active-ml-core/tests/unit/test_pipeline_library_flow_operations.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/unit/test_pipeline_library_flow_operations.py:12: in <module>
from fw_active_ml_core.pipeline import PipelineLibrary as pl
fw_active_ml_core/pipeline/PipelineLibrary.py:14: in <module>
from fw_active_ml_core.pipeline.PipelineLibraryMLOperations import *
fw_active_ml_core/pipeline/PipelineLibraryMLOperations.py:49: in <module>
from synapse.ml.lightgbm import LightGBMRegressor as sparkLightGBMRegressor
E ModuleNotFoundError: No module named 'synapse'
Thanks.
The text was updated successfully, but these errors were encountered:
I'm attempting to use this library to run pytests on sparkML code using the SynapseML package from microsoft. My code runs fine when using spark-submit, however after including the following in my pytest.ini, I still receive a ModuleNotFound error when trying to run my pytests. relevant code is below:
pytest.ini
failing code
error
Thanks.
The text was updated successfully, but these errors were encountered: