python pip install teachable-machine dependency conflicts

126 Views Asked by At

I'm asking a question for my friend, we are working on a keras project that requires the use of teachable machine. The problem is, pip install teachable-machine isn't working for him, and the errors are saying something about dependency conflict.

This conflict is caused by:
 teachable-machine 1.1 depends on tensorflow>=2.12 0rc0
 teachable-machine 1.0 depends on tensorflow
 teachable-machine 0.1.2 depends on tensorflow
 teachable-machine 0.1.1 depends on tensorflow
 teachable-machine 0.1.0 depends on tensorflow
 teachable-machine 0.0.2 depends on tensorflow
 teachable-machine 0.0.1 depends on tensorflow

teachable-machine install error

With that in mind, I surfed the internet for solutions but couldn't really find any that helps with this. Since teachable-machine's dependencies are numpy, Pillow, tensorflow, we tried to pip install them all with

pip install numpy
pip install Pillow
pip install tensorflow

The first 2 was with a message "Requirement already satisfied: (the package name)"

But there was an error when it comes to tensorflow.

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

tensorflow install error

0

There are 0 best solutions below