configure PostgreSQL with the python: distutils module not found

Поиск
Список
Период
Сортировка
От Andre Mikulec
Тема configure PostgreSQL with the python: distutils module not found
Дата
Msg-id CY1PR03MB218744E495E6B9877612985A9CD50@CY1PR03MB2187.namprd03.prod.outlook.com
обсуждение исходный текст
Ответы Re: configure PostgreSQL with the python: distutils module not found  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: configure PostgreSQL with the python: distutils module not found  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general


Hi,

I am trying to configure PostgreSQL with the plpython language available.

Here is my ./configure line

TargetUser@TARGETMACH /c/postgres-master_0ab9c56_debug
$ ./configure PYTHON=/c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3 --with-python --with-includes=/c/EnterpriseDB/Lang
uagePack/9.5/x64/Python-3.3/Include:/c/Users/TargetUser/Documents/zlib-1.2.8-win32-x86_64/include --with-libraries=/
c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3:/c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3/DLLs:/c/EnterpriseDB/Lan
guagePack/9.5/x64/Python-3.3/libs:/c/Users/TargetUser/Documents/zlib-1.2.8-win32-x86_64/bin:/c/Users/TargetUser/D
ocuments/zlib-1.2.8-win32-x86_64/lib --host=x86_64-w64-mingw32 --prefix=/usr/local/pgsql_0ab9c56_debug --disable-rpath
--enable-depend --enable-cassert --enable-debug --with-extra-version=_CFLAGS_O_0ab9c56 CFLAGS="-O -fno-omit-frame-point
er"  2>&1 | tee configure_OPTIONS.txt

I am getting the error message.

checking for python... /c/EnterpriseDB/LanguagePack/9.5/x64/Python-3.3
checking for Python distutils module... no
configure: error: distutils module not found

However, I do have 'distutils'

Python 3.3.4 (default, Jan  5 2016, 16:11:51) [MSC v.1800 64 bit (AMD64)] on w
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import distutils
>>>

Please help.

Thank you.

Andre Mikulec
Andre_Mikulec@Hotmail.com









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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: out-of-order XID insertion in KnownAssignedXids
Следующее
От: Jacob Scott
Дата:
Сообщение: Postgresql apt repository naming scheme question