且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

AttributeError: 'str' 对象没有属性 'decode'

更新时间:2023-12-02 22:57:22

你为什么使用 pyzmq-static ?根据 this reference pyzmq-static 已过时,最新的它的包是在 11-09-2012 上传的,也许它不是为 python 3.x 开发的.

Why are you using pyzmq-static ? According to this reference pyzmq-static is obsolete, the latest package for it was uploaded on 11-09-2012 , maybe it was not developed for python 3.x .

您应该改为尝试使用 pyzmq(甚至 pyzmq 的 pypi 页面也指出了这一点-静止的) .

You should instead try using pyzmq (as even indicated by the pypi page for pyzmq-static) .