Error Collecting Packages- Not Module Error
rkarr5 opened this issue · 0 comments
I am receiving the below error when I try to run the test code. Any help is greatly appreciated.
======================================================= ERRORS ========================================================
__________________________ ERROR collecting packages/regression_model/tests/test_predict.py ___________________________
packages\regression_model\tests\test_predict.py:3: in
from regression_model.predict import make_prediction
packages\regression_model\regression_model\predict.py:9: in
_price_pipe = load_pipeline(file_name=pipeline_file_name)
packages\regression_model\regression_model\processing\data_management.py:29: in load_pipeline
saved_pipeline = joblib.load(filename=file_path)
env\lib\site-packages\sklearn\externals\joblib\numpy_pickle.py:590: in load
with open(filename, 'rb') as f:
E FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\ravit\Documents\Git\deploying-machine-learning-models\packages\regression_model\regression_model\trained_models\regression_model.pkl'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================================== 1 error in 0.65 seconds ===============================================