pip安装python依赖成功,pycharm中import出错

先尝试了下,在shell终端执行python

AT7730:WechatSogou-master yangchuanhuan$ pythonshell

Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47) ui

[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin插件

Type "help", "copyright", "credits" or "license" for more information.orm

>>> from wechatsogou.tools import *pycharm

>>> from wechatsogou import *编译器

可见,wechatsogou插件已经安装成功了,问题出如今了pycharm配置上it

打开pycharm配置,在project interpreter中找到“show all”io

给编译器添加上install的wechatsogou安装路径便可,编译

安装完成后,pycharm中可使用安装的第三方依赖了

相关文章
相关标签/搜索