To connect to a SQLite database on PyCharm you have two options:
1. Manual connection and
2. Automatic connection.
Manual connection
Use the following steps
My environment on windows has a lot of restrictions, including one to prohibit execution of files placed anywhere else except C:\Windows, C:\Program Files