I was following this in order to create a model that could be interpreted by tensorflowJS.
In the middle of the tutorial, it is asked to install the tensorflowjs
by executing the following command:
pip install tensorflowjs
But, in my machine, I'm getting the following error:
Could not find a version that satisfies the requirement tf-nightly-2.0-preview>=2.0.0.dev20190304 (from tensorflowjs) (from versions: ) No matching distribution found for tf-nightly-2.0-preview>=2.0.0.dev20190304 (from tensorflowjs)
It seems that tensorflowJS has a dependency to tf-nightly
. So I installed this package by executing the following command:
pip install tf-nightly
And then again:
pip install tensorflowjs
But the same error message is throwing to the console.
Does anyone know how to solve this?
With the advice of William D.Irons I found out that tf-nightly
package is not compatible with python 3.7.x
.
What I did was installing the python 3.6 version (with the add to path option checked) and then executed the following command:
pip3.6 install tensorflowjs
And the installation was successfully.