[PyQt] PyQt4 and PyCharm IDE

Zachary Quinn Scheuren angryjaga at gmail.com
Mon Jun 1 19:45:41 BST 2015


It should see PyQt with the correct Python selected. It can be a little finicky sometimes, though. You could try to add a new interpreter from the settings wheel that's above the '+' button (that whole area of settings isn't as clear as it could be). There is the option to add local or remote Python versions or create a virtual Python. If it's already pointing at your installed Python then just delete that interpreter and add it again. That should force a rescan of the selected Python's packages. 


2015/06/02 1:32、Donald E Limbaugh <delimbaugh21 at students.tntech.edu> のメッセージ:

> Thanks, Zachary, for the quick response!!
> 
>  
> 
> I am using Python 2.7.
> 
>  
> 
> From the Preferences -> Project -> Project Interpreter settings, I see:
> 
>  
> 
> pip
> 
> setuptools
> 
> wsgrief
> 
> wxPython
> 
> wxPython-common
> 
>  
> 
> I don't see PyQt there.  I click on the '+' sign at the bottom to add it, but that just brings up the Available Packages dialog box where I can install PyQt.  I don't need to install it; it's already on my machine.  I don't see how to "direct" PyCharm to use the PyQt already available...
> 
>  
> 
> Suggestions?
> 
>  
> 
>  
> 
>  
> 
> 
>  
> From: PyQt <pyqt-bounces at riverbankcomputing.com> on behalf of Zachary Quinn Scheuren <angryjaga at gmail.com>
> Sent: Monday, June 1, 2015 9:07 AM
> To: pyqt at riverbankcomputing.com
> Subject: Re: [PyQt] PyQt4 and PyCharm IDE
>  
> I use PyCharm on Mac, Linux and Windows with PyQt4 all day every day. You need to make sure your project interpreter is setup with the Python version you have PyQt installed for. You don't need it to be the same Python, though. You can also set the project interpreter to be virtual and make sure the virtual Python has the correct packages installed. In my case we load PyQt from the server (3 different locations depending on platform) so it's not even locally installed, but I have the project interpreter setup so PyCharm builds skeletons and I can happily use code completion.
> 
> Zachary
> 
> 
> 2015/06/01 23:52、Donald E Limbaugh <delimbaugh21 at students.tntech.edu> のメッセージ:
> 
>> Has anyone used PyQt4 with the PyCharm IDE? 
>> 
>>  
>> 
>> I recently installed PyCharm on my Mac & like the IDE, but I can't seem to get it to recognize my install of PyQt4.  I was curious to hear if anyone else in the community is/has been using these two items together successfully...
>> 
>>  
>> 
>> I'm running Mac OS X Mavericks v10.9.5​​, PyQt4 v4.11.3, and PyCharm v4.5.
>> 
>>  
>> 
>> Thanks in advance for any help or suggestions!!
>> 
>>  
>> 
>> --Don
>> 
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150602/d2bb76fa/attachment.html>


More information about the PyQt mailing list