'Unable to install modules in venv in pycharm

I was unable to install few modules in my venv in pycharm community edition 2020.3 I had following error

ERROR: Could not find a version that satisfies the requirement tensorflow
ERROR: No matching distribution found for tensorflow

above error is when i tried to install tensorflow, I had same error when i tried to install keras, Does Anyone knows what is wrong here I am using latest pip and setuptools.



Solution 1:[1]

After creating venv environment in Pycharm, follow below steps to install tensorflow:

Go to File -> Settings -> Project -> Project Interpreter -> Press + button(bottom)
-> Search 'tensorflow'
-> Specify version(right bottom) (check python 3.8.5 compatible tensorflow version in this link)
-> Select Install Package (left bottom)

Likewise, you can install other packages also in Pycharm.

You can refer this document for more details.

Sources

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

Source: Stack Overflow

Solution Source
Solution 1 TFer2