Open moraesat opened 9 months ago
This seems to be related to the sklearn library. Are you on Python 3.10 or higher? Otherwise, create a new environment and install solely the Finance Toolkit. The issue most likely resides in out-of-date libraries or code unrelated to the Finance Toolkit.
This seems to be related to the sklearn library. Are you on Python 3.10 or higher? Otherwise, create a new environment and install solely the Finance Toolkit. The issue most likely resides in out-of-date libraries or code unrelated to the Finance Toolkit.
I'm on Python 3.10.
Did you manage to resolve this issue?
Nop. Still got it.
pip install worked normal, but when I import the lib this error shows up: Any idea?
ValueError: source code string cannot contain null bytes Traceback: File "C:\Users\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_script exec(code, module.dict) File "C:\Users\Dados.py", line 23, in
from financetoolkit import Toolkit
File "C:\Users\lib\site-packages\financetoolkit__init__.py", line 4, in
from .toolkit_controller import Toolkit
File "C:\Users\lib\site-packages\financetoolkit\toolkit_controller.py", line 30, in
from financetoolkit.models.models_controller import Models
File "C:\Users\lib\site-packages\financetoolkit\models\models_controller.py", line 7, in
from financetoolkit.models import (
File "C:\Users\lib\site-packages\financetoolkit\models\wacc_model.py", line 6, in
from financetoolkit.performance import performance_model
File "C:\Users\lib\site-packages\financetoolkit\performance\performance_model.py", line 11, in
from sklearn.linear_model import LinearRegression