stm32ai-modelzoo icon indicating copy to clipboard operation
stm32ai-modelzoo copied to clipboard

Tensorflow version not found

Open TECO-Octo opened this issue 1 year ago • 4 comments

Hello, I am on MacOS (python 3.10.8) and when I want to install the requirements.txt, I get this error :

ERROR: Could not find a version that satisfies the requirement tensorflow==2.8.3 (from versions: 2.13.0rc0, 2.13.0rc1, 2.13.0rc2, 2.13.0, 2.13.1, 2.14.0rc0, 2.14.0rc1, 2.14.0, 2.14.1, 2.15.0rc0, 2.15.0rc1, 2.15.0, 2.15.1, 2.16.0rc0, 2.16.1, 2.16.2, 2.17.0rc0, 2.17.0rc1, 2.17.0)
ERROR: No matching distribution found for tensorflow==2.8.3

If I update the version on tensorflow in the requirements.txt, I assume there will be conflicts with the other packages version (most likely newer version needed)

Any idea?

PS : I will try to update all the packages in order to make them work with a newer version of tensorflow, hoping that the code will work after that

TECO-Octo avatar Jul 19 '24 12:07 TECO-Octo

Hello, Could you start from a clean environment following installation recommendations from the main readme: git clone https://github.com/STMicroelectronics/stm32ai-modelzoo.git cd stm32ai-modelzoo python -m venv st_zoo source st_zoo/bin/activate pip install -r requirements.txt

Regards

LFOSTM avatar Sep 18 '24 14:09 LFOSTM

Could you ensure as well you are using python 3.10.x version? Thanks

LFOSTM avatar Sep 18 '24 15:09 LFOSTM

Hello, Can you confirm that the issue is solved on your side? Then I will close the ticket. Regards, Laurent

LFOSTM avatar Oct 15 '24 13:10 LFOSTM

I previously had the same issue and solved it by downgrading python to 3.10. Make sure you then create an environment that runs that version. python --version will show you which version is currently active.

bayesiandog avatar Nov 06 '24 13:11 bayesiandog