On Wed, Nov 4, 2020 at 10:35 AM Egon Frerich <e...@frerich.eu> wrote:
> > Hi Dave, > > many thanks. > > I didn't build Python 3.8 myself. Mint put the program python3.8 into > /usr/bin. So my settings should work. > It's not the executable that matters - it's the prefix that's used when Python was configured, which would have been /usr on a typical Linux distro's standard package. > > With "export" (not declare) the environment variable is found. Now I get: > > > thomas@Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$ export > PGADMIN_PYTHON_DIR=/usr/ > > thomas@Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$ qmake > > Project MESSAGE: ================================== > > Project MESSAGE: Configuring the pgAdmin 4 runtime. > > Project MESSAGE: ================================== > > Project MESSAGE: Qt version: 5.12.8 > > Project MESSAGE: Platform: Linux > > Project MESSAGE: Python executable: /usr//bin/python3 > > Project MESSAGE: Python version: 3.8 (38) > > Project ERROR: No suitable python-config could be found in /usr//bin. > > thomas@Epsil192:~/Downloads/pgadmin4/pgadmin4-4.27/runtime$ > > Python 3.8 ist found. But why should there python-config? > Because that's used to figure out where all the different parts of the installation can be found. On most Linux distros, there will be a python3-devel or python3-dev or similar package that will include that. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EDB: http://www.enterprisedb.com