在使用createlang 安装plpythonu的时候出现如下错误:
could not open extension control file "/usr/share/postgresql/9.1/extension/plpythonu.control": No such file or directory
主要原因是安装postgresql的时候没有使用--with-python选项编译好PL/Python
对于已经安装好的postgresql可以通过以下方式解决缺少依赖包的问题:
sudo apt-get install postgresql-plpython
安装好postgresql-plpython之后就可以安装pypythonu了
createlang -h 127.0.0.1 -p 5432 -U postgres -W plpythonu yourdbname
随机推荐
cordova + ionic 使用中碰到的一些问题
cordova + ionic 使用中碰到的一些问题 No Content-Security-Policy meta tag found. Please add one when using ...
Android M新特性之Behavior Changes
1.Runtime Permissions On your apps that target the M Preview release or higher, make sure to check f ...
JQuery学习(1)
JQuery学前准备 JQuery的各种包: 1.jquery-ui(包含小工具及组件) 2.jquery-1.7.1.intellisense.js(智能提示包) 3.jquery-1.7.1.js ...
用javascript实现简体和繁体字间的转换
Volley 百财帮封装
Activity public class MainActivity extends Activity implements OnClickListener { private Context ...
zoj3713 7Bit
意思是把一行字符串的长度按照找7位一个字节输出,如果长度能够存在7位里,字节的最高位置0,否则只输出7位并且输出字节的最高位置1,直到全部输出长度. 要注意的是有空串要输出00,其他按照16进制输出就 ...
intellij idea打jar包时的注意事项
intellij idea项目在打包maven项目时,数据路径很容易出现问题.在IDE内直接运行不会报错,但打成jar包运行就会报错. intellij打包的几种方式:http://www.cnblo ...
Dapper中条件为In的写法
今天用Dapper更新是用到了IN写法,园子里找了篇文章这样写到 传统sql in (1,2,3) 用dapper就这样写 conn.Query("SELECT * ...