python及相关工具安装Error集,,python及相关工


python及相关工具安装Error集1. 如果升级python版本中出现error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory解决方法: vim /etc/ld.so.conf添加:/usr/local/lib执行:/sbin/ldconfig -v2. 如果出现unknown url type: https解决方法:安装openssl-devel3. 出现numpy.distutils.system_info.NotFoundError: no lapack/blas resources found解决办法:安装atlas atlas-devel.x86_644. 出现 Failedto build these modules:    binascii    zlib解决办法:安装zlib并重新编译python5. 安装numpy报错RuntimeError: Running cythonize failed!解决办法:编译安装cython6. 出现error: library dfftpack has Fortran sources but no Fortran compiler found解决办法:安装 gcc-gfortran.x86_647. 出现ImportError: No module named bz2:解决办法:yum install -y bzip2*cd ../Python-2.7.3/Modules/zlib./configuremakemake installcd ../../python setup.py install重新编译python8. 出现ImportError: libpython2.7.so.1.0: cannot open shared object file: No such file or directory解决办法:编译时只有加上--enable-shared,才会编译这个共享库,默认的位置是python可执行程序所在目录的lib目录下,如/usr/local/python2.7.4 

python及相关工具安装Error集

相关内容

    暂无相关文章

评论关闭