From: | Alessandro Manzoni <manzoni(dot)alessandro4(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Where is util.py |
Date: | 2018-12-14 18:40:54 |
Message-ID: | ef7c559e-b867-99e6-e440-78a136b292c9@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
I've just installed PostgresSQL 9.6.11 to test an application. I would
like to run postgres as a service under windows, so I executed
create_service.bat. The new service is listed in windows services but it
doesnt start. The reason is a python error:
> Traceback (most recent call last):
> File "D:\Programmi\PostgreSQL\9.6\pg96\run-pgctl.py", line 15, in
> <module>
> import util
> ImportError: No module named util
I seeked for util.py but I couldn't find it. I tried to comment-out
'import util' from run-pgctl.py module, following a suggestion found in
stack overflow, but wasn't effective as the error changed to:
> Traceback (most recent call last):
> File "D:\Programmi\PostgreSQL\9.6\pg96\run-pgctl.py", line 17, in
> <module>
> util.set_lang_path()
> NameError: name 'util' is not defined
>
so I restored the 'import util' statement.
How can I solve this problem?
Where should I find util.py?
How can I run postgres service avoiding python?
From | Date | Subject | |
---|---|---|---|
Next Message | Ghiurea, Isabella | 2018-12-14 22:46:55 | PG how to stop streaming replication( master host) |
Previous Message | wambacher | 2018-12-14 18:02:15 | Re: finding queries doing sequential search |