Re: Building runtime-only pgAdmin4 - Mailing list pgadmin-support

From Ashesh Vashi
Subject Re: Building runtime-only pgAdmin4
Date
Msg-id CAG7mmoyxQNtreo3Kz4j258BZ+-qwThe1f5PpXG3f1WEnRYZsPQ@mail.gmail.com
Whole thread Raw
In response to Re: Building runtime-only pgAdmin4  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: Building runtime-only pgAdmin4  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgadmin-support
On Thu, Mar 30, 2017 at 2:33 AM, Rich Shepard <rshepard@appl-ecosys.com> wrote:
On Wed, 29 Mar 2017, marcelo wrote:

Please, tell the list the new building process results. I cannot follow it
without errors and strange errors.

Marcelo,

  One question I had asked a while ago has been anwered: one needs to
install the python web framework, flask, and SQLAlchemy even if the end use
is from the command line (the runtime build). Interesting.

  I upgraded the SlackBuilds.org packages for virtualenv, virtualenv-clone,
and virtualenvwrapper and sourced /usr/bin/virtualenvwrapper.sh (Slackware
puts executables in /usr/bin/ rather than /usr/local/bin/ and postgres is
installed in /usr/lib/postgresql/9.6/bin -- at least for the currently
installed version -- rather than /usr/local/pgsql/bin; the postgres data
directory is in /var/lib/pgsql/data/).

  Next, I created a pgAdmin4 virtual environment as directed in step 3.
Within that environment I ran pip3 as in step 4, but since installation of
many of the tools requires root privileges I ran
[root@salmo ~]# pip install -r /opt/pgadmin4-1.3/requirements.txt. This
Please try pip3 (on some system, for python 3, it uses pip3).

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


failed because it was looking for python-2.x rather than 3.x and tried
installing a very old version of SQLAlchemy-1.0.8 where the current version
is something like 1.0.14.

  So, I still cannot build pgAdmin4 on this host.


Rich





--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support

pgadmin-support by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Building runtime-only pgAdmin4
Next
From: Rich Shepard
Date:
Subject: Re: Building runtime-only pgAdmin4