Ubuntu下安装PyQuery出现:ERROR: /bin/sh: 1: xslt-config: not found
2013-04-23 19:46
549 查看
(1)安装PyQuery时出现上述错误,
并且下面跟着一句提示的话:
** make sure the development packages of libxml2 and libxslt are installed **
可以判断是因为依赖的原因,用apt-get 来装libxml2,发现已经安装了,然后再apt-get安装libxslt发现找不到这个软件,看来源里面找不到这个,或者是不叫这个名字。
(2)问题解决
万事问Google,果然,找到了问题的解决方案。不得不赞美StackOverflow,基本上错误都能在这找到答案。
解决办法:
安装命令 apt-get install libxslt-dev
并且下面跟着一句提示的话:
** make sure the development packages of libxml2 and libxslt are installed **
可以判断是因为依赖的原因,用apt-get 来装libxml2,发现已经安装了,然后再apt-get安装libxslt发现找不到这个软件,看来源里面找不到这个,或者是不叫这个名字。
(2)问题解决
万事问Google,果然,找到了问题的解决方案。不得不赞美StackOverflow,基本上错误都能在这找到答案。
解决办法:
安装命令 apt-get install libxslt-dev
相关文章推荐
- Ubuntu下安装PyQuery出现:ERROR: /bin/sh: 1: xslt-config: not found
- Ubuntu安装软件是出现E: Sub-process /usr/bin/dpkg returned an error code (1)的解决方法
- E: Sub-process /usr/bin/dpkg returned an error code (1) ubuntu下安装时出现的错误
- Centos安装webbench时出现/bin/sh: ctags: command not found解决方法
- Centos6.5安装webbench时出现/bin/sh: ctags: command not found解决方法
- 安装redis出现cc adlist.o /bin/sh:1:cc:not found
- 在Ubuntu下安装jdk解压出现问题:./jdk-6u30-linux-i586.bin: 113: ./install.sfx.3631: not found
- 在Ubuntu下安装jdk解压出现问题:./jdk-6u30-linux-i586.bin: 113: ./install.sfx.3631: not found
- memcached编译安装报错 ,提示checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized configure: error: /bin/sh ./config.sub x86_64-unknown-linu
- centos7 安装mysql--python模块出现EnvironmentError: mysql_config not found和error: command 'gcc' failed with exit status 1
- ubuntu 下出现E: Sub-process /usr/bin/dpkg returned an error code
- ubuntu 下安装NVIDIA显卡驱动出现X service error问题解决方法
- cocos2d-x编译android版本时出现“/bin/sh: -c: line 0: syntax error near unexpected token”错误
- mac python安装MySQLdb EnvironmentError: mysql_config not found 解决方法
- ubuntu14.04 内核编译,/bin/sh: 1: lzop: not found问题
- centos 安装Qt-----出现 ERROR: Package gstreamer-app-0.10 not found 问题的解决
- 安装postgreSQL出现configure: error: zlib library not found解决方法
- win7用easybcd从硬盘安装ubuntu 11.10重启出现error 15 file not found错误
- ubuntu系统在安装好mysql后,出现ERROR 2002(HY000: Can't to local MySQL server through socket '/var/run/mysqld/mysqld.sock')(2)(图文详解)