vickycq 写道:
908221509@qq.com 写道:
/bin/sh: 1: python-config: not found
是不是缺少什么东西,我在新立得里面搜索python出来好多,不知道哪一个好。
是缺少 python-config 这个命令。那么 python-config 包含在哪个包里呢?
打开终端,执行
代码:
apt-file search python-config
可见 python-config 包含在 python-dev 这个包中
或到
http://packages.ubuntu.com/ - Search the contents of packages
单选按钮选择 'packages that contain files whose names contain the keyword'
Distribution 选 trusty
关键词填 python-config
搜索,得到
http://packages.ubuntu.com/search?searchon=contents&keywords=python-config&mode=filename&suite=trusty&arch=any可见 python-config 包含在 python-dev 这个包中
再请教一下,刚刚我又缺了libgfortran.so.3文件,我用apt-file search 搜索出好几个parkage都含有这个。分别是:
gcc-snapshot
lib32gfortran3
lib64gforran3-powerpc-cross等
代码:
lmp@Lenovo:~$ apt-file search libgfortran.so.3
gcc-snapshot: /usr/lib/gcc-snapshot/lib/libgfortran.so.3
gcc-snapshot: /usr/lib/gcc-snapshot/lib/libgfortran.so.3.0.0
gcc-snapshot: /usr/lib/gcc-snapshot/lib32/libgfortran.so.3
gcc-snapshot: /usr/lib/gcc-snapshot/lib32/libgfortran.so.3.0.0
gcc-snapshot: /usr/lib/gcc-snapshot/libx32/libgfortran.so.3
gcc-snapshot: /usr/lib/gcc-snapshot/libx32/libgfortran.so.3.0.0
lib32gfortran3: /usr/lib32/libgfortran.so.3
lib32gfortran3: /usr/lib32/libgfortran.so.3.0.0
lib32gfortran3-dbg: /usr/lib/debug/usr/lib32/libgfortran.so.3.0.0
lib64gfortran3-dbg-powerpc-cross: /usr/lib/debug/usr/powerpc-linux-gnu/lib64/libgfortran.so.3.0.0
lib64gfortran3-powerpc-cross: /usr/powerpc-linux-gnu/lib64/libgfortran.so.3
lib64gfortran3-powerpc-cross: /usr/powerpc-linux-gnu/lib64/libgfortran.so.3.0.0
libgfortran3: /usr/lib/x86_64-linux-gnu/libgfortran.so.3
libgfortran3: /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0
libgfortran3-arm64-cross: /usr/aarch64-linux-gnu/lib/libgfortran.so.3
libgfortran3-arm64-cross: /usr/aarch64-linux-gnu/lib/libgfortran.so.3.0.0
libgfortran3-armel-cross: /usr/arm-linux-gnueabi/lib/libgfortran.so.3
libgfortran3-armel-cross: /usr/arm-linux-gnueabi/lib/libgfortran.so.3.0.0
libgfortran3-armhf-cross: /usr/arm-linux-gnueabihf/lib/libgfortran.so.3
libgfortran3-armhf-cross: /usr/arm-linux-gnueabihf/lib/libgfortran.so.3.0.0
libgfortran3-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0
libgfortran3-dbg-arm64-cross: /usr/lib/debug/usr/aarch64-linux-gnu/lib/libgfortran.so.3.0.0
是随便安装一个就可以了吗,还是有些跟我的电脑不兼容有lib32和Lib64之分