Closed yhfgyyf closed 7 months ago
🤖
It's great that you've identified the issue with the jwt dependency in the requirement.txt file. Your proposed solution to use the pyjwt package with version >= 2.8.0 seems like a step in the right direction. Encouraging you to go ahead and create a pull request with your proposed fix. Your contribution will be valuable to the project. Thank you for taking the initiative!
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
dev已经更新和修复
问题描述 / Problem Description requirement.txt中jwt依赖错误导致zhipu-api无法使用,使用jwt库会出现 module 'jwt' has no attribute 'encode 错误 应该使用pyjwt包,pyjwt>=2.8.0
复现问题的步骤 / Steps to Reproduce
预期的结果 / Expected Result 描述应该出现的结果 / Describe the expected result.
实际结果 / Actual Result 描述实际发生的结果 / Describe the actual result.
环境信息 / Environment Information
附加信息 / Additional Information 添加与问题相关的任何其他信息 / Add any other information related to the issue.