<div dir="ltr">There seem to be some problems in the interpreter settings. I just checked my home setup and PyQt doesn't show up in the list of packages, but PyCharm reads it fine and I get autocomplete. Those settings have always been a little weird. I believe that list only shows packages installed with easy_install, but it should still read all locations set for the interpreter (from the gear icon > "More..." and then the not so clear "Show paths for selected interpreter" button). My PyQt4 is in /Library/Python/2.7/site-packages and it works fine even though it doesn't show in the interpreter settings. <div><br></div><div>In the interpreter settings you can add paths to the specific interpreter, but that's also buggy. I have to add the same path a couple times. And restart the app and double check that it actually saved it properly. On my work Mac we load PyQt4 from a different location that's not in $PATH or $PYTHONPATH, but I added that location to the PyCharm interpreter settings and it also reads it fine. </div><div><br></div><div>Zachary<br></div><div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 3, 2015 at 5:59 AM Donald E Limbaugh <<a href="mailto:delimbaugh21@students.tntech.edu">delimbaugh21@students.tntech.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)">
<p>Not seeing it... I removed the Python 2.7 interpreter & rescanned the system, but still no PyQt.</p>
<p> </p>
<p>Could it be the file path for my install of PyQt? Here's what I see available for Project Interpreters:</p>
<p> </p>
<p>/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7</p>
<p> </p>
<p>/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7</p>
<p> </p>
<p>/Users/myMac/anaconda/bin/python</p>
<p> </p>
<p>I'm not sure how this happened... I guess my skills at installing things on my Mac are not very keen.</p>
<p> </p>
<p>I can see that my PyQt4 is installed in the directory /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/PyQt4</p>
<p> </p>
<p>But when I have the select that directory in the Preferences -> Project Interpreter dialog, I only see a few Packages installed. When I choose the anaconda interpreter, I see dozens of packages installed, but no PyQt...</p>
<p> </p>
<p>I'm very confused! Maybe I should delete all things Python & start again!</p>
<p> </p>
<p> </p>
<p> </p>
<p><br>
</p>
<div style="color:rgb(0,0,0)" dir="auto">
<hr style="width:98%;display:inline-block">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"></font></div></div></div></div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)"><div style="color:rgb(0,0,0)" dir="auto"><div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> PyQt <<a href="mailto:pyqt-bounces@riverbankcomputing.com" target="_blank">pyqt-bounces@riverbankcomputing.com</a>> on behalf of Zachary Quinn Scheuren <<a href="mailto:angryjaga@gmail.com" target="_blank">angryjaga@gmail.com</a>><br>
</font></div></div></div></div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)"><div style="color:rgb(0,0,0)" dir="auto"><div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>Sent:</b> Monday, June 1, 2015 12:45 PM</font></div></div></div></div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)"><div style="color:rgb(0,0,0)" dir="auto"><div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><br>
<b>To:</b> <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br>
<b>Subject:</b> Re: [PyQt] PyQt4 and PyCharm IDE</font></div></div></div></div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)"><div style="color:rgb(0,0,0)" dir="auto">
<div>
<div>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. <br>
<div><br>
</div>
</div>
<div><br>
2015/06/02 1:32、Donald E Limbaugh <<a href="mailto:delimbaugh21@students.tntech.edu" target="_blank">delimbaugh21@students.tntech.edu</a>> のメッセージ:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)">
<p>Thanks, Zachary, for the quick response!!</p>
<p> </p>
<p>I am using Python 2.7.</p>
<p> </p>
<p>From the Preferences -> Project -> Project Interpreter settings, I see:</p>
<p> </p>
<p>pip</p>
<p>setuptools</p>
<p>wsgrief</p>
<p>wxPython</p>
<p>wxPython-common</p>
<p> </p>
<p>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...</p>
<p> </p>
<p>Suggestions?</p>
<p> </p>
<p> </p>
<p> </p>
<p><br>
</p>
<div style="color:rgb(0,0,0)" dir="auto">
<hr style="width:98%;display:inline-block">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> PyQt <<a href="mailto:pyqt-bounces@riverbankcomputing.com" target="_blank">pyqt-bounces@riverbankcomputing.com</a>> on behalf of Zachary Quinn Scheuren
<<a href="mailto:angryjaga@gmail.com" target="_blank">angryjaga@gmail.com</a>><br>
<b>Sent:</b> Monday, June 1, 2015 9:07 AM<br>
<b>To:</b> <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br>
<b>Subject:</b> Re: [PyQt] PyQt4 and PyCharm IDE</font>
<div> </div>
</div>
<div>
<div>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.</div>
<div><br>
</div>
<div>Zachary<br>
<div><br>
</div>
</div>
<div><br>
2015/06/01 23:52、Donald E Limbaugh <<a href="mailto:delimbaugh21@students.tntech.edu" target="_blank">delimbaugh21@students.tntech.edu</a>> のメッセージ:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)">
<p>Has anyone used PyQt4 with the PyCharm IDE? </p>
<p> </p>
<p>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...</p>
<p> </p>
<p>I'm running Mac OS X Mavericks v10.9.5, PyQt4 v4.11.3, and PyCharm v4.5.</p>
<p> </p>
<p>Thanks in advance for any help or suggestions!!</p>
<p> </p>
<p>--Don</p>
<p><br>
</p>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a></span><br>
<span><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a></span></div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div></div></div></blockquote></div></div></div></div>