I upgraded my Windows PC to a 13th gen Intel CPU and Nvidia 40-series GPU, and found myself have to install tensorflow-gpu all over again. In the past, I used conda install tensorflow-gpu V2.6 and it worked fine. I also tried WSL2 before and found Windows is faster. So I’d like to stick to Windows.
I tried to use conda to install tensorflow-gpu this time around. The installation was fine. But as soon as I import tensorflow as tf, I receive the following errors.
So what is the right way to install tensorflow-gpu on Windows in July 2023?
Errors are shown below:
AttributeError: module ‘numpy’ has no attribute ‘object’.
np.object was a deprecated alias for the builtin
object. To avoid this error in existing code, use
object by itself. Doing this will not modify any behavior and is safe.