[pgadmin-support] 4th Try: pgadmin4 install, launch fail

Поиск
Список
Период
Сортировка
От stancs3
Тема [pgadmin-support] 4th Try: pgadmin4 install, launch fail
Дата
Msg-id 1485739415.30211.165.camel@gmail.com
обсуждение исходный текст
Ответы Re: [pgadmin-support] 4th Try: pgadmin4 install, launch fail  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support
Please don't take my note as complaint; you guys are a tremendous asset
to the pg world. pgadmin3 has been brilliant for me.


This is my 4th attempt to install and launch pgadmin4.

I started with a clean VM Fedora 25.

I installed the pgdg yum repo.

I installed pgadmin4-v1. No issues.

I followed the notes on pgadmin 4.1.1 Documentation Getting Started,
created config_local.py.

The stuff below is what happened.



ran python setup.py  - fail. (note, the clean install put it in
python3.5 - why are we seeing 2.7 below?)

python setup.py
Traceback (most recent call last):
  File "setup.py", line 21, in <module>
    from flask import Flask
  File "/usr/lib/python2.7/site-packages/flask/__init__.py", line 17,
in <module>
    from werkzeug.exceptions import abort
ImportError: No module named werkzeug.exceptions

>> I had manually installed Flash due to a previous error, but the
above then occurred.


ran pgAdmin4.py  - fail.

[xxxxxxxx pgadmin4-web]$ ./pgAdmin4.py
./pgAdmin4.py: line 12: $'This is the main application entry point for pgAdmin 4. If running on\na webserver, this will
providethe WSGI interface, otherwise, we\'re going\nto start a web server.': command not found
 
./pgAdmin4.py: line 14: import: command not found
./pgAdmin4.py: line 15: import: command not found
./pgAdmin4.py: line 19: syntax error near unexpected token `('
./pgAdmin4.py: line 19: `root = os.path.dirname(os.path.realpath(__file__))'


I tried simply launching the executable in the run dir, but it could not find pgAdmin4.py. I altered the .ini file to
pointexactly to the dir where pgAgmin4.py is, but same error.
 

I see similar feedback when searching for ideas.


Regards,

Stan



В списке pgadmin-support по дате отправления:

Предыдущее
От: jbiskofski
Дата:
Сообщение: [pgadmin-support] pgadmin4 running behind nginx
Следующее
От: Dave Page
Дата:
Сообщение: Re: [pgadmin-support] pgadmin4 running behind nginx