We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install wechatpy
通过 pip 安装的 wechatpy 缺少 wechatpy.work 模块,无法进行企业微信api的开发。
pip install https://github.com/wechatpy/wechatpy/archive/master.zip
直接安装 github master 版本是没有问题的。
OS Windows10 & CentOS 7
Python 3.7 & 3.8
wechatpy 1.8.13 not works github master works
pip install wechatpy python >>> import wechatpy # This works >>> from wechatpy.work.crypto import WeChatCrypto # raise error Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'wechatpy.work'
The text was updated successfully, but these errors were encountered:
master做了重命名修改#538,目前发布的没有,所以通过pip安装的应该通过from wechatpy. enterprise import xxx进行调用。考虑到之后的兼容问题,建议可以用下面的方式
from wechatpy. enterprise import xxx
try: from wechatpy.enterprise import xxx except ImportError: from wechatpy.work import xxx
Sorry, something went wrong.
issue 关闭,先置顶提高可见性。
No branches or pull requests
问题描述 (Description)
通过 pip 安装的 wechatpy 缺少 wechatpy.work 模块,无法进行企业微信api的开发。
直接安装 github master 版本是没有问题的。
配置信息 (Environment/Version)
OS
Windows10 & CentOS 7
Python
3.7 & 3.8
wechatpy
1.8.13 not works
github master works
重现步骤 (Reproducing)
The text was updated successfully, but these errors were encountered: