powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / PostgreSQL [игнор отключен] [закрыт для гостей] / Проблема с plpythonu
3 сообщений из 3, страница 1 из 1
Проблема с plpythonu
    #39221035
Бока
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Код: plsql
1.
2.
3.
[SQL]CREATE LANGUAGE plpythonu;

[Err] ERROR:  could not access file "$libdir/plpython2": No such file or directory


Как решить проблему?
...
Рейтинг: 0 / 0
Проблема с plpythonu
    #39221089
Бока
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Я попытался сделать следующее на сервере:
Код: python
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
yum install postgresql94-plpython

Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                                                                                                                                    |  26 kB     00:00     
 * base: mirror.isoc.org.il
 * epel: ftp.nluug.nl
 * extras: mirror.isoc.org.il
 * nux-dextop: mirror.li.nux.ro
 * updates: mirror.isoc.org.il
base                                                                                                                                                             | 3.7 kB     00:00     
extras                                                                                                                                                           | 3.4 kB     00:00     
nux-dextop                                                                                                                                                       | 2.9 kB     00:00     
pgdg94                                                                                                                                                           | 3.7 kB     00:00     
updates                                                                                                                                                          | 3.4 kB     00:00     
Resolving Dependencies
--> Running transaction check
---> Package postgresql94-plpython.x86_64 0:9.4.7-1PGDG.rhel6 will be installed
--> Processing Dependency: postgresql94-server = 9.4.7 for package: postgresql94-plpython-9.4.7-1PGDG.rhel6.x86_64
--> Processing Dependency: postgresql94 = 9.4.7 for package: postgresql94-plpython-9.4.7-1PGDG.rhel6.x86_64
--> Running transaction check
---> Package postgresql94.x86_64 0:9.4.5-1PGDG.rhel6 will be updated
---> Package postgresql94.x86_64 0:9.4.7-1PGDG.rhel6 will be an update
--> Processing Dependency: postgresql94-libs = 9.4.7-1PGDG.rhel6 for package: postgresql94-9.4.7-1PGDG.rhel6.x86_64
---> Package postgresql94-server.x86_64 0:9.4.5-1PGDG.rhel6 will be updated
---> Package postgresql94-server.x86_64 0:9.4.7-1PGDG.rhel6 will be an update
--> Running transaction check
---> Package postgresql94-libs.x86_64 0:9.4.5-1PGDG.rhel6 will be updated
---> Package postgresql94-libs.x86_64 0:9.4.7-1PGDG.rhel6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================================
 Package                                             Arch                                 Version                                            Repository                            Size
========================================================================================================================================================================================
Installing:
 postgresql94-plpython                               x86_64                               9.4.7-1PGDG.rhel6                                  pgdg94                                69 k
Updating for dependencies:
 postgresql94                                        x86_64                               9.4.7-1PGDG.rhel6                                  pgdg94                               1.0 M
 postgresql94-libs                                   x86_64                               9.4.7-1PGDG.rhel6                                  pgdg94                               195 k
 postgresql94-server                                 x86_64                               9.4.7-1PGDG.rhel6                                  pgdg94                               4.4 M

Transaction Summary
========================================================================================================================================================================================
Install       1 Package(s)
Upgrade       3 Package(s)

Total download size: 5.6 M
Is this ok [y/N]: y
Downloading Packages:
http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/postgresql94-9.4.7-1PGDG.rhel6.x86_64.rpm: [Errno 12] Timeout on http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/postgresql94-9.4.7-1PGDG.rhel6.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
(2/4): postgresql94-libs-9.4.7-1PGDG.rhel6.x86_64.rpm                                                                                                            | 195 kB     00:01     
(3/4): postgresql94-plpython-9.4.7-1PGDG.rhel6.x86_64.rpm                                                                                                        |  69 kB     00:00     
(4/4): postgresql94-server-9.4.7-1PGDG.rhel6.x86_64.rpm                                                                                                          | 4.4 MB     00:12     


Error Downloading Packages:
  postgresql94-9.4.7-1PGDG.rhel6.x86_64: failure: postgresql94-9.4.7-1PGDG.rhel6.x86_64.rpm from pgdg94: [Errno 256] No more mirrors to try.

В чём проблема ?
...
Рейтинг: 0 / 0
Проблема с plpythonu
    #39221100
Бока
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Версия инстанса Ж
Код: plaintext
1.
PostgreSQL 9.4.5 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / PostgreSQL [игнор отключен] [закрыт для гостей] / Проблема с plpythonu
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]