lorserker/ben

MacOS tensorflow ERROR

Closed this issue · 10 comments

7NT commented

OS: macOS Ventura 13.3.1 (a)
python: Python 3.10.10

During conda_setup.sh, got an ERROR:

ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (from versions: 2.12.0rc0, 2.12.0rc1, 2.12.0)
ERROR: No matching distribution found for tensorflow==1.15

Do I need to uninstall python 3.10 then install 3.7?
Will it run in tensorflow 2?

Thanks

7NT commented

later, I bypassed this error with (changed to /src folder):

conda install -c conda-forge websockets
conda install -c conda-forge numpy
conda install -c conda-forge tensorflow==1.15

I always found the conda installer as the safest option, as not to cause any mismatch-version problems. Works for both Tensorflow 1 and 2, CPU and GPU.

@haliteris thanks for sharing your solution!

As this is solved I think the issue should be closed.

i keep it for mac users to see it.
say a mac user runs into trouble, then they want to create an issue, but they see that there is a solution.
if i close it then they might not find the solution by themselves

Then it is probably better to add it in a readme-file. But it is your call - Number of open issues often tells about the project :-)

conda install -c conda-forge tensorflow==1.15
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • tensorflow==1.15

Current channels:

I am not finding tensorflow anywhere

This is fixed since ben is upgraded to Python 3.9+ and Tensorflow 2.0+ #58