简体   繁体   中英

Getting error “ImportError: cannot import name SimplePool” when using restkit

i am using:

from restkit import Resource,  SimplePool, BasicAuth, request

environment:

Python 2.7.2+ (default, Oct 4 2011, 20:03:08)

>>> restkit.version_info
(3, 3, 2)
>>> 

From the changelog:

SimplePool has been replaced by TConnectionManager

in restkit 2.3 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM