The exact warning is
....\.venv\lib\site-packages\sklearn\base.py:329: UserWarning: Trying to unpickle estimator LinearRegression from version 0.24.1 when using version 1.0.2. This might lead to breaking code or invalid results. Use at your own risk.
I saw several questions on this matter here and on other forums - they all sum up in uninstall and install the latter version.
I tried that, but still getting the error. Moreover, the model building and the consumer are on the same VSCode worksapce using the same .venv which holds scikit-learn==1.0.2 - so where does the 0.24.1 come from and more important, how can I solve this warning and be sure my predictions are true?
EDIT per @rickhg12hs request:
the code part is very basic:
self.ModelHeight = pickle.load(open(filePath, "rb")