简体   繁体   English

Pycharm Intellisense和PyQT4

[英]Pycharm Intellisense and PyQT4

I am using Pycharm to build a PyQt4 app. 我正在使用Pycharm来构建PyQt4应用程序。 The Pychram IntelliSense is not working inside the virtual environment. Pychram IntelliSense在虚拟环境中不起作用。 To get the PyQt4 system working in the virtualenv, I used vext.pyqt4 . 为了使PyQt4系统在virtualenv中运行,我使用了vext.pyqt4 Also, I am using Python 3.5 if that makes any difference. 另外,如果有什么区别,我正在使用Python 3.5。

Is there any easy fix to get the IntelliSense working? 是否有任何简单的修复方法可以使IntelliSense工作?

Ensure that PyCharm has context of PyQt, and that it is recognized as a library under PyCharm's project settings. 确保PyCharm具有PyQt的上下文,并在PyCharm项目设置下将其识别为库。 This will enable the auto-complete. 这将启用自动完成功能。 Settings > Project > Project Interpreter . 设置 > 项目 > 项目解释器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM