Comments (4)
@jameswnzrf 你好,请问你测试的是哪个 api?我这边上传 api 100% 会有错误:
SSLError: hostname 'c.pcs.baidu.com' doesn't match u'pcs.baidu.com'
方便的话,能否麻烦你修改 verify=True 后在项目根目录下执行一下 py.test 看看会不会报错?
谢谢!
from baidu-pcs-python-sdk.
你好,我试了一下,改了verify=True之后,py.test通过:31 passed in 130.58 seconds
我用的是:platform linux -- Python 3.3.2 -- pytest-2.4.2 -- /usr/bin/python
from baidu-pcs-python-sdk.
@jameswnzrf 可能是我系统中的证书问题。
那就去掉 verify 参数,将 SSLError 加入到 FAQ 中。
from baidu-pcs-python-sdk.
Closed via 85b9105.
from baidu-pcs-python-sdk.
Related Issues (10)
- 上传zip文件的时候抛出异常 HOT 3
- 提示app id is empty HOT 4
- 好像已经不能用了 HOT 6
- 转存的api HOT 2
- 百度api有更新 HOT 2
- 大文件不分片上传 HOT 4
- access_token 如何获得 HOT 1
- 如何添加bt种子的离线下载任务? HOT 2
- python3 无法安装 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baidu-pcs-python-sdk.