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
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: