Hi @Aniket2
I confirmed that the error is happening when you open a Noetic rosject.
We are going to solve it, but in the meantime, you can run the following command to install the missing dependency before running catkin build:
pip3 install osrf-pycommon
Cheers.