'Tensorflow.tar.bz2 - How to install and import to Spyder?

I downloaded the file tensorflow-2.7.0-cpu_py310h6ecea76_0.tar.bz2. Using Anaconda3 prompt I installed going to the directory and typing:

conda install tensorflow-2.7.0-cpu_py310h6ecea76_0.tar.bz2

However when I open the spyder and type: import tensorflow I receive the following:

Traceback (most recent call last):

  File "C:\Users\MFRANK~1\AppData\Local\Temp\1/ipykernel_288/4294963926.py", line 1, in <module>
    import tensorflow

ModuleNotFoundError: No module named 'tensorflow'


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source