--- a/eric6/UI/UserInterface.py Sun Oct 25 12:28:07 2020 +0100 +++ b/eric6/UI/UserInterface.py Sun Oct 25 14:34:57 2020 +0100 @@ -13,6 +13,7 @@ import shutil import json import datetime +import getpass from PyQt5.QtCore import ( pyqtSlot, QTimer, QFile, QFileInfo, pyqtSignal, PYQT_VERSION_STR, QDate, @@ -1490,7 +1491,7 @@ os.path.expanduser("~")) ) if installInfo["virtualenv"]: - installInfo["user"] = os.getlogin() + installInfo["user"] = getpass.getuser() installInfo["exe"] = sys.executable installInfo["installed"] = True installInfo["installed_on"] = installDateTime.strftime(