title: Installed PostgreSQL and cannot get the pgAdmin to open
body: <p>This is the error I get when I try to open pgAdmin 4. I installed the PostgresSQL 13 which is latest. I did the HKEY fix, cleared temp folders under AppData and ran as admin and nothing. I need to create a database and table. How do I do that if I can't even open pgAdmin.<br />
  New to this.</p>
  <p>pgAdmin Runtime Environment</p>
  <hr />
  <p>Python Path: &quot;C:\Program Files\PostgreSQL\13\pgAdmin 4\python\python.exe&quot;<br />
  Runtime Config File: &quot;C:\Users[user]\AppData\Roaming\pgadmin\runtime_config.json&quot;<br />
  pgAdmin Config File: &quot;C:\Program Files\PostgreSQL\13\pgAdmin 4\web\config.py&quot;<br />
  Webapp Path: &quot;C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py&quot;<br />
  pgAdmin Command: &quot;C:\Program Files\PostgreSQL\13\pgAdmin 4\python\python.exe -s C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py&quot;</p>
  <p>Environment:<br />
     • ALLUSERSPROFILE: C:\ProgramData<br />
     • APPDATA: C:\Users[user]\AppData\Roaming<br />
     • CHROME_CRASHPAD_PIPE_NAME: \.\pipe\crashpad_10156_OYIAWLFFYJSPWPGP<br />
     • CHROME_RESTART: NW.js|Whoa! NW.js has crashed. Relaunch now?|LEFT_TO_RIGHT<br />
     • CLIENTNAME: DEVWS030<br />
     • CommonProgramFiles: C:\Program Files\Common Files<br />
     • CommonProgramFiles(x86): C:\Program Files (x86)\Common Files<br />
     • CommonProgramW6432: C:\Program Files\Common Files<br />
     • COMPUTERNAME: VA-SCRD-TUAW02<br />
     • ComSpec: C:\Windows\system32\cmd.exe<br />
     • DriverData: C:\Windows\System32\Drivers\DriverData<br />
     • HOMEDRIVE: C:<br />
     • HOMEPATH: \Users[user]<br />
     • LOCALAPPDATA: C:\Users[user]\AppData\Local<br />
     • LOGONSERVER: \VA-COLO-DC1<br />
     • NUMBER_OF_PROCESSORS: 2<br />
     • OS: Windows_NT<br />
     • Path: C:\Program Files\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Users[user]\AppData\Local\Microsoft\WindowsApps;<br />
     • PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC<br />
     • PGADMIN_INT_KEY: 6faa2add-9f1c-4745-acde-7cf728e0b4b6<br />
     • PGADMIN_INT_PORT: 58801<br />
     • PGADMIN_SERVER_MODE: OFF<br />
     • PROCESSOR_ARCHITECTURE: AMD64<br />
     • PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 45 Stepping 7, GenuineIntel<br />
     • PROCESSOR_LEVEL: 6<br />
     • PROCESSOR_REVISION: 2d07<br />
     • ProgramData: C:\ProgramData<br />
     • ProgramFiles: C:\Program Files<br />
     • ProgramFiles(x86): C:\Program Files (x86)<br />
     • ProgramW6432: C:\Program Files<br />
     • PSModulePath: C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules<br />
     • PUBLIC: C:\Users\Public<br />
     • SESSIONNAME: RDP-Tcp#1<br />
     • SystemDrive: C:<br />
     • SystemRoot: C:\Windows<br />
     • TEMP: C:\Users[user]\AppData\Local\Temp\2<br />
     • TMP: C:\Users[user]\AppData\Local\Temp\2<br />
     • USERDNSDOMAIN: xx<br />
     • USERDOMAIN: xx<br />
     • USERDOMAIN_ROAMINGPROFILE: xx<br />
     • USERNAME: reena.ponnengada<br />
     • USERPROFILE: C:\Users\reena.ponnengada<br />
     • windir: C:\Windows</p>
  <hr />
  <p>Traceback (most recent call last):<br />
    File &quot;C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgAdmin4.py&quot;, line 98, in <br />
      app = create_app()<br />
    File &quot;C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgadmin_<em>init</em>_.py&quot;, line 347, in create_app<br />
      if not os.path.exists(SQLITE_PATH) or get_version() == -1:<br />
    File &quot;C:\Program Files\PostgreSQL\13\pgAdmin 4\web\pgadmin\setup\db_version.py&quot;, line 19, in get_version<br />
      return version.value<br />
  AttributeError: 'NoneType' object has no attribute 'value'</p>