Re: [pgadmin-support] pgadmin4: no module flask

2016-04-19 Thread Luca Ferrari
On Tue, Apr 19, 2016 at 2:24 PM, Dave Page wrote: > That's assuming they're installed - if not, you need to do that first, e.g. > > pip install -r requirements_py3.txt I've installed flask via pip, as already written: $ pip list | grep -i flask Flask (0.10.1) Flask-Babel (0.9) Flask-Gravatar (0.

[pgadmin-support] OpenBSD 5.8: compile fails

2016-04-19 Thread Matthias Koch-Schirrmeister
Good afternoon list, I am trying to compile the most recent version of pgAdmin on OpenBSD 5.8. config runs fine, but make throws the following errors and fails: pgAdmin3.cpp:1757:35: error: images/pgAdmin3-16.pngc: No such file or directory pgAdmin3.cpp:1758:35: error: images/pgAdmin3-32.pngc: No

Re: [pgadmin-support] pgadmin4: no module flask

2016-04-19 Thread Dave Page
On Tuesday, April 19, 2016, Neel Patel wrote: > Hi, > > Error itself saying that application is not able to find the required > packages so you need to export the PYTHONPATH variable to required packages > where installed. > > e.g. export > PYTHONPATH=/home/user/workspace/pgAdmin4_3_4/lib/python

Re: [pgadmin-support] pgadmin4: no module flask

2016-04-19 Thread Neel Patel
Hi, Error itself saying that application is not able to find the required packages so you need to export the PYTHONPATH variable to required packages where installed. e.g. export PYTHONPATH=/home/user/workspace/pgAdmin4_3_4/lib/python3.4/site-packages/ Thanks, Neel Patel On Tue, Apr 19, 2016 a

[pgadmin-support] pgadmin4: no module flask

2016-04-19 Thread Luca Ferrari
Hi all, still trying to get pgAdmin4 running on my system. When I launch it I got: ./runtime/pgAdmin4 Webapp path: "/home/luca/tmp/pgadmin4/web/pgAdmin4.py" Traceback (most recent call last): File "/home/luca/tmp/pgadmin4/web/pgAdmin4.py", line 24, in from pgadmin import create_app File

Re: [pgadmin-support] pgadmin4: The python-config executable could not be found.

2016-04-19 Thread Mark Csaba
Hello, I'm not an expert on this, but I would start with this line: "undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5'" Csaba -Original Message- From: pgadmin-support-ow...@postgresql.org [mailto:pgadmin-support-ow...@postgresql.org] On Behalf Of Luca Ferrari Sent: Tuesday,

Re: [pgadmin-support] pgadmin4: The python-config executable could not be found.

2016-04-19 Thread Luca Ferrari
On Tue, Apr 19, 2016 at 11:00 AM, Neel Patel wrote: > Remove the "-lpython3.4m" from LFLAGS in Makefile and add it at the end in > "LIBS" variable after linking of Qt libraries as below. While it compiles with python 2.7 it does not with 3.5.1 (I report this in the case it is useful): In file in

Re: [pgadmin-support] pgadmin4: The python-config executable could not be found.

2016-04-19 Thread Neel Patel
Hi, This error will come due to library file linking preference in Makefile. Python library should be linked at the end so you have to change the Makefile as below. By default, python library "-lpython3.4m" is linked with "LFLAGS" in Makefile. *Solution:-* Remove the "-lpython3.4m" from LFLAGS

Re: [pgadmin-support] pgadmin4: The python-config executable could not be found.

2016-04-19 Thread Luca Ferrari
On Mon, Apr 18, 2016 at 10:27 AM, Mark Csaba wrote: > Hello Luca, > > Try using apt-file: > > sudo apt-get install apt-file > sudo apt-file update > sudo apt-file search python-config Thanks for the hint: that lead me to package python-dev. However, during the building I got: Server.o: In functi

Re: [pgadmin-support] pgadmin4: The python-config executable could not be found.

2016-04-19 Thread Luca Ferrari
On Mon, Apr 18, 2016 at 12:29 AM, Darren Duncan wrote: > Akin to Dave's response, perhaps your problem is that the installed python > package is only complete if you are just running pure Python code against > it, whereas if you are building anything C-level against Python eg some kind > of extens