python3 安装 FastDFS客户端

首先安装mutagen: pip install mutagen 时会报如下错误: ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Max retries exceeded with url: /packages/30/4c/5ad1a6e1ccbcfaf6462db727989c302d9d721beedd9b09c11e6f0c7065b0/mutagen-1.42.0.tar.gz (Caused by SSLError(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)’),)) 解决办法: 加入信任, 可加入多个: pip –trusted-host pypi.python.org –trusted-host pypi.org install –trusted-host files.pythonhosted.org mutagen 安装fdfs_client-py, 源码安装, 首先下载源码:

安装时会报如下错误: fdfs_client/sendfilemodule.c:43:20: fatal Read more…