Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'tensorflow_addons' #73

Open
RENOKZ opened this issue Mar 1, 2024 · 13 comments
Open

ModuleNotFoundError: No module named 'tensorflow_addons' #73

RENOKZ opened this issue Mar 1, 2024 · 13 comments

Comments

@RENOKZ
Copy link

RENOKZ commented Mar 1, 2024

Во время установки через терминал, выводит ошибку:
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
Copy link
Author

RENOKZ commented Mar 2, 2024

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
Copy link
Owner

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
Copy link
Author

RENOKZ commented Mar 2, 2024

здравствуйте, похоже, вы пытаетесь установить разные версии библиотеки. Правильные версии библиотеки указаны в файле 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?

@onurhanak
Copy link

onurhanak commented Mar 2, 2024

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
Copy link

I also had problems and had to install python 3.11.8

@Clemente1307
Copy link

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
Copy link
Owner

kochlisGit commented May 6, 2024

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
Copy link

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
Copy link

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
Copy link
Owner

kochlisGit commented May 6, 2024

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
Copy link

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
Copy link
Owner

type pip install lxml

@Clemente1307
Copy link

type pip install lxml

Thank you very much, everything works great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants