Hi Mark, You have to use same python version while building and running pgAdmin4 application.
If you want to compile pgAdmin4 runtime application with Python 3.4 then export "PYTHON_CONFIG" variable so that application will use python 3.4 while compiling. Hope you have used python 3.4 while creating virtual environment. e.g. export PYTHON_CONFIG=/home/markm/.virtualenvs/pgadmin4/ bin/python-config After exporting above variable - while executing "qmake" message should be displayed like "Python3 detected.". Let us know if you face any issue. Thanks On Tue, Nov 7, 2017 at 7:03 AM, Mark Murawski <markm-li...@intellasoft.net> wrote: > Hi, > > Checkout > master 8b543a58 > > Python 2.7 > > Pgadmin4 draws an initial window and then goes no further. Attached > screenshot. > > There's no log file output. And only this from the main process: > $ runtime/pgAdmin4 > Python path: "/home/markm/.virtualenvs/pgadmin4/lib/python3.4/site-packag > es" > Python Home: "" > Webapp path: "/home/markm/download/pgadmin4/web/pgAdmin4.py" > > > It says the path is 3.4, but I've build with 2.7 (not sure how to fix it > to load 3.4, I'm not a python expert) > > Here's the output from qmake > $ qmake > Project MESSAGE: Building for QT5+... > Project MESSAGE: Using QWebEngine... > Project MESSAGE: Building for Linux/Mac... > Project MESSAGE: Using /home/markm/.virtualenvs/pgadmin4/bin/python-config > Project MESSAGE: Python2 detected. > > I had a lot of problems installing dependencies using pip, and it was > recommended I use pipenv. Using pipenv I was able to get all the > dependencies installed for 2.7 into /.virtualenvs/pgadmin4/lib/pyt > hon2.7/site-packages. > > When pgadmin4 loads, it's looking for site-pacakges in > .virtualenvs/pgadmin4/lib/python3.4/site-packages, so I symlinked 3.4 to > 2.7 and pgadmin4 was able to start loading. > > Any help greatly appreciated! > > Thanks. >