Python3 的 PyQuery
所以根据 this 这里 PyQuery 是“Python3 兼容的”,但我找不到任何有关的信息如何实际安装它,因为它似乎仍然依赖于仅是 python2.x 的 setuptools 。
我还尝试从包含 bootstrap-py3k.py 的 bitbucket 获取最新源代码,但同样失败 - 实际上它似乎只是将 setuptools 下载到 tmp 目录中并尝试运行它..这将由于明显的原因而失败。
但我仍然认为如果库本身已经与 python3 兼容,我应该能够手动执行 setuptools 所做的任何操作,或者也许我遗漏了一些东西?
So according to this here PyQuery is "Python3 compatible", but I can't find any information about how to actually install it, since it still seems to be dependent on setuptools which is python2.x only.
I also tried to newest source from bitbucket that contains a bootstrap-py3k.py but that fails just as well - actually it just seems to download setuptools into a tmp dir and trying to run that.. which will fail for obvious reasons.
But still I assume I should be able to do whatever setuptools is doing manually as well if the lib itself is already python3 compatible, or maybe I'm missing something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
安装 distribute,它是 setuptools 的直接替代品,并且支持 py3k。
Install distribute, which is a drop-in replacement for setuptools and has py3k support.