kochlisGit / ProphitBet-Soccer-Bets-Predictor

ProphitBet is a Machine Learning Soccer Bet prediction application. It analyzes the form of teams, computes match statistics and predicts the outcomes of a match using Advanced Machine Learning (ML) methods. The supported algorithms in this application are Neural Networks, Random Forests & Ensembl Models.
MIT License
338 stars 121 forks source link

ModuleNotFoundError: No module named 'tensorflow_addons' #73

Open RENOKZ opened 8 months ago

RENOKZ commented 8 months ago

Во время установки через терминал, выводит ошибку: pip install tensorflow-addons

ERROR: Could not find a version that satisfies the requirement tensorflow-addons (from versions: none) ERROR: No matching distribution found for tensorflow-addons

во время установки через packages, выводит ошибку:

ERROR: Could not find a version that satisfies the requirement tensorflow-addons==0.23.0 (from versions: none) ERROR: No matching distribution found for tensorflow-addons==0.23.0

Помогите пожалуйста с ошибкой!

Версия tensorflow 2.16.0rc0 tensorflow-intel 2.16.0rc0 PyCharm Community Edition 2023.3.4 python-3.12.2-amd64

Спасибо!

RENOKZ commented 8 months ago

During installation via the terminal, it outputs an error: pip installs tensorflow add-ons

mistake: Could not find a version that meets the tensorflow-addons requirement (from versions: none) ERROR: A suitable distribution for tensorflow-addons was not found

during installation via packages, it outputs the:

mistake: Could not find a version that meets the requirement of tensorflow-addons==0.23.0 (from versions: none) ERROR: No suitable distribution was found for tensorflow-addons==0.23.0

Please help me with the error!

Version tensorflow 2.16.0rc0 tensorflow-intel 2.16.0rc0 PyCharm Community Edition 2023.3.4 python-3.12.2-amd64

Thanks!

kochlisGit commented 8 months ago

hello, it looks like you try to install different library versions. The correct library versions are mentrioned in requirements.txt file in this directory. Delete any version that you installed and install the correct ones! You can check if a library is correct like that:

pip show tensorflow (if the library is tensorflow)

You can also delete a library using the following command

pip uninstall numpy

You can install specific version like that:

pip install pandas==1.4.0

RENOKZ commented 8 months ago

здравствуйте, похоже, вы пытаетесь установить разные версии библиотеки. Правильные версии библиотеки указаны в файле requirements.txt в этом каталоге. Удалите все установленные вами версии и установите правильные! Вы можете проверить, корректна ли библиотека таким образом:

pip show tensorflow (если это библиотека tensorflow)

Вы также можете удалить библиотеку, используя следующую команду

pip uninstall numpy

Вы можете установить определенную версию следующим образом:

pip install pandas==1.4.0

Can you install the latest versions of libraries? Do I have to strictly adhere to installing only those versions specified in the requirements?

Factual0367 commented 8 months ago

Depends on which library. If you are using pip you will need to install a higher version of tensorflow as 2.9.1 is no longer available. I submitted a pull request for it to be updated in requirements.txt to @kochlisGit

Lakasitos2013 commented 8 months ago

I also had problems and had to install python 3.11.8

Clemente1307 commented 6 months ago

Good morning, I have installed the python-3.9.9-amd64 version, I also say that I have a GeForce graphics card in my PC, I don't know if this could be a problem or an advantage, I also followed the guide, but here is the error that appears . I don't know how to solve the problem Screenshot (21)

kochlisGit commented 6 months ago

This is definetely wrong version of tensorflow! type pip show tensorflow in a command line and tell me what is the version. If it is larger than 2.10, you will have this issue. Do the same for tensorflow-addons. I have listed the required versions in requirements.txt file guys!

Clemente1307 commented 6 months ago

Good afternoon, I did as you wrote in the reply but this appears to me. First of all, sorry but I'm new to Python. Screenshot (22)

Clemente1307 commented 6 months ago

After having completely uninstalled Python, and removed all the folders related to it, I reinstalled version 3.9, I followed the requirements file to the letter, and installed all the pips, when everything was done I got the following error message after I started the main. Having a GeForce video card, how can I solve this? I'm sorry if I'm bothering you but I'm a beginner Screenshot (26)

kochlisGit commented 6 months ago

I am sorry, i made a mistake. It's pip show tensorflow not tensorlfow... The message you are getting in the second screenshot is a warning, you can ignore it. Does the app opens?

Clemente1307 commented 6 months ago

Thanks for the reply, absolutely no need to apologize, I thank you for the support you give me, I ran pip show tensorflow and this appears, I can't ignore the second one because the cmd file closes and the app doesn't open apparently, I also installed this cuda_12.4.1_windows_network, but unfortunately nothing. I attach the various screenshots Screenshot (27) This is the error for the second screenshot Screenshot (49)

kochlisGit commented 6 months ago

type pip install lxml

Clemente1307 commented 6 months ago

type pip install lxml

Thank you very much, everything works great