python3使用RabbitMQ出现'basestring' is not defined错误解决

错误显示如下:

解决方法:

   找到pika包下的 connection.py文件, 将文档中的 basestring 替换为 str


 

猜你喜欢

转载自blog.csdn.net/LeonTom/article/details/81448591