我已经为Python 3安装了Podio API并发现它从urllib导入urlencode(你显然会在Python 2中导入它),而不是urllib.parse(它似乎在Python 3中) ),让我无法用API做任何事情。当我编辑代码时没有任何事情发生,我已经假设了,因为我已经安装了它,那么我将如何解决这个问题呢?我环顾四周,但没有找到关于如何做到这一点的明确说明。
答案 0 :(得分:3)
The podio library for python available on pip doesn't seems to be up to date. The last version from github seem to fix your bug.
You should install it as it is recommanded on the project readme:
pip install -e git+https://github.com/podio/podio-py.git#egg=podio-py
(See this issue)
If it doesn't fix your bug, you should fix it on github and make a pull request. This way you will still be able to upgrade it if there is updates later.