Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cannot install tensorflow-text using pip despite having tensorflow 2.0.0-beta1 installed

My tensorflow 2.0.0beta1 runs normally, but I cannot install tensorflow-text using the command pip install tensorflow-text (as described on the tensorflow page). I can find it using pip search tensorflow-text but I am getting an error

ERROR: Could not find a version that satisfies the requirement tensorflow-text (from versions: none)

There are no requirements for this package (i.e. a specific python version). I am running on windows, using conda, python 3.6.9

like image 369
MAltakrori Avatar asked Aug 26 '19 18:08

MAltakrori


1 Answers

Update

The first release candidate of 2.4.0 was published today which features windows wheels for the first time. 2.4.0rc0 on PyPI. Note that only wheels for Python 3.6 and 3.7 are working properly at the moment. Install via e.g.

> py -3.7 -m pip install tensorflow-text==2.4.0rc0

Original answer

At the time of writing this, tensorflow-text is not available for Windows yet.

Windows is something we do wish to add. We've had some difficulties getting a working package though, which is why it is not available yet. The difference between this library and tensorflow-probability is we make use of custom ops written in c++, and building those shared libraries to work well with Tensorflow inside Windows has had issues; plus, the lengthy build times on Windows has made iterating on these issues slow. While the next beta release (this week) will not include Windows, we would like for the next release to include it.

Source.

like image 68
hoefling Avatar answered Nov 08 '22 11:11

hoefling