kochlisGit/ProphitBet-Soccer-Bets-Predictor

Problem with tensorflow (warning at start up)

Closed this issue · 0 comments

Hi, I´ve just installed Prophibet, and i have run it for the first time. Seems there is a problem with Tensorflow, and I get this errormessage when running the code:

Warning (from warnings module):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tensorflow_addons/utils/tfa_eol_msg.py", line 23
warnings.warn(
UserWarning:

TensorFlow Addons (TFA) has ended development and introduction of new features.
TFA has entered a minimal maintenance and release mode until a planned end of life in May 2024.
Please modify downstream libraries to take dependencies from other repositories in our TensorFlow community (e.g. Keras, Keras-CV, and Keras-NLP).

For more information see: tensorflow/addons#2807

Warning (from warnings module):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tensorflow_addons/utils/ensure_tf_install.py", line 53
warnings.warn(
UserWarning: Tensorflow Addons supports using Python ops for all Tensorflow versions above or equal to 2.10.0 and strictly below 2.13.0 (nightly versions are not supported).
The versions of TensorFlow you are currently using is 2.9.1 and is not supported.
Some things might work, some things might not.
If you were to encounter a bug, do not file an issue.
If you want to make sure you're using a tested and supported configuration, either change the TensorFlow version or the TensorFlow Addons's version.
You can find the compatibility matrix in TensorFlow Addon's readme:
https://github.com/tensorflow/addons

Warning (from warnings module):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fuzzywuzzy/fuzz.py", line 11
warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "/Users/frodeeriksen/Downloads/ProphitBet-Soccer-Bets-Predictor-main/gui/dialogs/league.py", line 115, in _store_league
matches_df, league = self._league_repository.create_league(
File "/Users/frodeeriksen/Downloads/ProphitBet-Soccer-Bets-Predictor-main/database/repositories/league.py", line 77, in create_league
matches_df = MainLeagueAPI().download(league=league)
File "/Users/frodeeriksen/Downloads/ProphitBet-Soccer-Bets-Predictor-main/database/network/footballdata/api.py", line 9, in download
matches_df = self._download(league=league)
File "/Users/frodeeriksen/Downloads/ProphitBet-Soccer-Bets-Predictor-main/database/network/footballdata/main.py", line 19, in _download
return league_matches_dfs[0] if len(league_matches_dfs) == 1 else pd.concat(league_matches_dfs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pandas/core/reshape/concat.py", line 347, in concat
op = _Concatenator(
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pandas/core/reshape/concat.py", line 404, in init
raise ValueError("No objects to concatenate")
ValueError: No objects to concatenate