I am using uv python for package mgmt. Had to copy the contents of "/home/ujjwal/.local/share/uv/python/cpython-3.11.10-linux-x86_64-gnu/lib" folder to "venv/lib" folder. And it worked.