Updating Tensorflow

To implement ResNets in my local environment I realize that I have to update tensorflow to 2.0 or higher versions.
I had the version 1.4 that comes with conda. Seeing that the conventional wisdom is against installing the update with PIL, I did it with

conda install tensorflow==2.0

and then tried the simple

import tensorflow as tf

I got a scary error

ERROR! Session/line number was not unique in database. History logging moved to new session 59

After that, I got more errors (actually, 3) , of the type

ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.

Here is a sample piece of the long traceback.

ImportError: cannot import name ‘random_uniform’ from ‘tensorflow.keras.initializers’ (C:.…py)
During handling of the above exception, another exception occurred:

AttributeError: ‘ImportError’ object has no attribute ‘render_traceback
During handling of the above exception, another exception occurred: etc.

Obviously, updating tensorflow is above my pay grade :face_with_head_bandage:
Any suggestions? how to create a local environment with the current tensorflow version?

Pip installations work best for me.

And since we use tensorflow 2.3, I’d recommend you install that particular version.

the command I know is

PIP upgrade tensorflow

will that do it? Is there a way to tell PIP to install a specific version?
thanks Mubsi

@EduardoChicago, the command on your terminal would be

pip install tensorflow==2.3.0