question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not install TF 2.0

See original GitHub issue

I want to use this new functionality of TF 2.0 but it is not working for me on Google Colab or on my Mac with OS 10. Since there TF 0.13 is installed on Google Colab, I first used the command given in the code here to install TF 2.0. On execution, it gives

ERROR: thinc 6.12.1 has requirement wrapt<1.11.0,>=1.10.0, but you’ll have wrapt 1.11.1 which is incompatible.

It was my first time opening and using Google Colab, so I did not make any changes in it before.

When I try installing it on my MacBook, it does not work either. If I install TF 2.0 using command pip install -q tf-nightly-2.0-preview, source then tensorflow can not be imported. If I install using pip install tf-nightly-2.0-preview==2.0.0-dev20190529 source then it can import but then tensorboard can not be imported and used.

Not sure what to do now. Please help. Thank you!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
gowthamkprcommented, Jun 3, 2019

@rishabhsahrawat In pip install -q tf-nightly-2.0-preview, can you please remove the quiet flag -q and run the command and let me know if you can see the installation happening. Thanks!

Also please note that there is no Tensorflow 2.0 stable release yet. Alpha version describes a development status that usually means the first complete version of a program or application, which is most likely unstable, but is useful to show what the product will do to, usually, a selected group—and is also called preview version; the beta version is usually the last version before wide release, often tested by users under real-world conditions. To know what Nightly means please refer to the following stackoverflow question

1reaction
gowthamkprcommented, May 31, 2019

@rishabhsahrawat You Can safely ignore the error as tf-nightly-2-0-preview 2.0 has requirement wrapt>=1.11.1. Can you please provide me with an errorlog that is being generated while importing tensorboard?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot install tensorflow-gpu==2.0.0 by pip #43526 - GitHub
I got this error. root@dc45fa59c9f0:/workspace# pip install tensorflow-gpu==2.0.0 ERROR: Could not find a version that satisfies the requirement ...
Read more >
Install TensorFlow 2
Learn how to install TensorFlow on your system. Download a pip package, run in a Docker container, or build from source.
Read more >
Step-by-step Guide to Install TensorFlow 2 | by Chitta Ranjan
Download the fashion_mnist data from the tf open datasets and pre-process it. To get familiarized with the data, we will plot a few...
Read more >
Can't install tensorflow with pip or anaconda - Stack Overflow
Found a solution, seems like Tensorflow doesn't support versions of python after 3.6.4. This is the version I'm currently using and it works....
Read more >
Installing TensorFlow 2 GPU [Step-by-Step Guide] - neptune.ai
Not all users know that you can install the TensorFlow GPU if your hardware supports it. ... importing the tensorflow package import tensorflow...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found