You can check whether it is installed in your virualenv by calling pip list
or pip show utmp
.
If not, try to reinstall it:
pip install --upgrade --no-deps --force-reinstall utmp
and extend your question with the error log.
Also verify the shebang line as it might point not to your virtualenv.