问题1:启动Seafile安装脚本时,提示找不到MySQL-python模块,使用yum安装成功也提示未安装该软件包

问题1解决方法:需要通过 python 的工具pip来安装MySQL-python ,执行pip install MySQL-python

---------------------------------------------------------------------------------------------------------------------------------------------

问题2:说找不到pip

[root@CentOS setuptools-.6c11]# pip install pillow moviepy
Traceback (most recent call last):
File "/usr/bin/pip", line , in <module>
from pip import main
ImportError: No module named pip

问题2解决方法

[root@CentOS Downloads]# wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate
---- ::-- https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz
Resolving pypi.python.org... 151.101.72.223, 2a04:4e42:::
Connecting to pypi.python.org|151.101.72.223|:... connected.
WARNING: certificate common name “www.python.org” doesn’t match requested host name “pypi.python.org”.
HTTP request sent, awaiting response... OK
Length: (1.0M) [application/octet-stream]
Saving to: “pip-1.5..tar.gz” %[=====================================================================================================================================================================================>] ,, .2K/s in 23s -- :: (45.1 KB/s) - “pip-1.5..tar.gz” saved [/] [root@CentOS Downloads]# tar -xzf pip-1.5..tar.gz
[root@CentOS Downloads]# cd pip-1.5.
[root@CentOS pip-1.5.]# python setup.py install ..........略去无用内容....... [root@CentOS /]# python -m ensurepip
Requirement already satisfied: setuptools in /usr/local/lib/python2./site-packages/setuptools-.6c11-py2..egg
Collecting pip
Installing collected packages: pip
Successfully installed pip-9.0.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

问题3:说SSL没安装,实际装了

[root@CentOS /]# yum install openssl-devel -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 6.3 kB :
* base: mirrors.btte.net
* epel: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.btte.net
base | 3.7 kB :
extras | 3.3 kB :
nginx | 2.9 kB :
updates | 3.4 kB :
Setting up Install Process
Package openssl-devel-1.0.1e-.el6.i686 already installed and latest version
Nothing to do

问题3 解决办法 编辑Python安装配置文件,加入红色字部分,然后重新编译安装Python

[root@CentOS Python-2.7.]# vi Modules/Setup
# -*- makefile -*-
# The file Setup is used by the makesetup script to construct the files
# Makefile and config.c, from Makefile.pre and config.c.in, .......省略无数行....... # Another example -- the 'xxsubtype' module shows C-level subtyping in action
xxsubtype xxsubtype.c # Socket module helper for socket(2)
_socket socketmodule.c timemodule.c # Socket module helper for SSL support; you must comment out the other
# socket line above, and possibly edit the SSL variable:
#SSL=/usr/local/ssl
_ssl _ssl.c \
-DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
-L$(SSL)/lib -lssl -lcrypto
"Modules/Setup" 510L, 18799C written
[root@CentOS Python-2.7.]#make
[root@CentOS Python-2.7.14]#make install

Centos6.5安装Seafile,遇到的问题处理记录。的更多相关文章

  1. CentOS上安装seafile

    一.安装python2.7.14(CentOS7上python默认版本是Python 2.7.5 ,不需要安装)1.安装依赖包[root@web01 ~]# yum -y install zlib z ...

  2. vmware Centos6.6安装64位

    Centos6.6安装64位 必须开启BIOS中的虚拟化技术 首先开机进入BIOS,一般机器是按F2,我的T420是按F1,然后进入Security,Virtualization,选择Enable即可 ...

  3. Gitlab完美安装【CentOS6.5安装gitlab-6.9.2】

    摘要: 拆腾了几天,终于在今天找到了快速安装Gitlab的方法.CentOS6.5安装gitlab-6.9.2 参考网址:https://gitlab.com/gitlab-org/omnibus-g ...

  4. CentOS6.5安装Tomcat

    安装说明 安装环境:CentOS-6.4 安装方式:源码安装 软件:apache-tomcat-7.0.56.tar.gz 下载地址:http://tomcat.apache.org/download ...

  5. Centos6 yum安装openldap+phpldapadmin+TLS+双主配置

    原文地址:http://54im.com/openldap/centos-6-yum-install-openldap-phpldapadmin-tls-%E5%8F%8C%E4%B8%BB%E9%8 ...

  6. centos6.5安装oracle11g_2

    centos7安装oracle数据库不成功,换成centos6.5安装,可以安装成功,记录一下 安装系统时,主机名如果不是用localhost,安装成功后,要用主机名和ip做映射,修改/etc/hos ...

  7. CentOS6.6安装vmware workstation报错

    本人系统用的是centos6.6,安装了vmware workstation,启动后一直如下图报错,相关内核已经安装了的,哪位前辈如果解决过这样的问题,麻烦指点指点,小弟在此先谢过了.

  8. CentOS6.6安装virtualbox4.1.44

    本人用的是centos6.6,安装了virtualbox 4.1.44,启动后一直如上图报错,哪位前辈如果解决过这样的问题,麻烦指点指点,小弟在此先谢过了.

  9. [转]CentOS-6.3安装配置cmake

    CentOS-6.3安装配置cmake   zhoulf 2013-02-03 原创 安装说明 安装环境:CentOS-6.3安装方式:源码编译安装 软件:cmake-2.8.10.2.tar.gz下 ...

随机推荐

  1. RecyclerView的使用(1)之HelloWorld

    原创文章.转载请注明 http://blog.csdn.net/leejizhou/article/details/50670657 RecyclerView是伴随Android 5.0公布的新控件, ...

  2. @RequestParam,@PathVariable等注解区别

    一.@RequestParam和@PathVariable的区别 1.@RequestParam是从uri中request后面的参数串来取得参数的 2.@PathVariable是从uri模板中取得参 ...

  3. 样条函数(spline function)—— 分段多项式函数(piecewise polynomial function)

    1. 分段多项式函数 样条函数是某种意义上的分段函数. Spline (mathematics) - Wikipedia 最简单的样条函数是一种分段多项式函数(piecewise polynomial ...

  4. kindoreditor上传图片

    <!doctype html><html> <head> <meta charset="utf-8" /> <title> ...

  5. 基于RHEL8/CentOS8的网络IP配置详解

    ➡ 在rhel8(含centos8)上,没有传统的network.service,在/etc/sysconfig/network-scripts/里也看不到任何脚本文件,那么该如何进行网络配置呢. ➡ ...

  6. Spring生态简介

    目录 概述 项目说明 主要项目 社区项目 保留项目 最后总结 概述 做Java开发的人一提起Spring,首先在脑海中浮现出的就是"IoC","AOP",&qu ...

  7. 禁止button标签提交form表单,变成普通按钮

    button有个type属性,属性值可为button.submit.reset button=普通按钮,直接点击不会提交表单submit=提交按钮,点击后会提交表单reset=表单复位 当button ...

  8. VCRuntime静默安装

    批处理脚本: "%~dp0\VC_X64Runtime\VC_x64Runtime.exe" /q"%~dp0\VC_X86Runtime\VC_X86Runtime.e ...

  9. 前端-js进阶和JQ源码思维导图笔记

    看不清的朋友右键保存或者新窗口打开哦!喜欢我可以关注我,还有更多前端思维导图笔记

  10. Linux强行踢用户

    首先who执行查看有几个终端在链接使用系统.如要踢出tty2 方法1: pkill -9 -t tty2 方法2: fuser -k /dev/tty2 fuser 指令 用途 使用文件或文件结构识别 ...