先尝试了下,在shell终端执行
AT7730:WechatSogou-master yangchuanhuan$ python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from wechatsogou.tools import *
>>> from wechatsogou import *
可见,wechatsogou插件已经安装成功了,问题出现在了pycharm配置上
打开pycharm配置,在project interpreter中找到“show all”
给编译器添加上install的wechatsogou安装路径即可,
安装完成后,pycharm中可以使用安装的第三方依赖了