I've got the point.
After deactivating the virtual environment, I tried installing gettext.
Now it is okay.