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中可使用安裝的第三方依賴了

相關文章
相關標籤/搜索