PyCharm wrong notification: no module named cx_Oracle
<p>I've installed cx_Oracle 5.2.1 for Python 2.7.10, and it works (running Win). My problem is though; PyCharm notifies me that the module name does not exists, which is not a problem in runtime. But because of this PyCharm is unable to assist me on the modules different function etc.</p>

<p>Can anyone clarify please?</p>

<p>I already looked into this <a href="http://stackoverflow.com/questions/36870935/pycharm-pythons-standard-libs-names-and-functions-are-underlined-as-no-modul">PyCharm: Python&#39;s standard lib&#39;s names and functions are underlined as &quot;No module named such&quot;</a> and I though it might be related. I don't see any solution though.</p>

<p>EDIT 1:</p>

<p>I read that it might fix the problem to delete cx-Oracle from the <code>Project Interpreter</code> and add it again. Problem is though that I get an error trying to install cx_Oracle: <code>error: command 'C:\\Program Files (x86)\\Common Files\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\link.exe' failed with exit status 1120</code>. I use PyCharm through a proxy.</p>

<p>EDIT 2:</p>

<p>As mentioned in a comment</p>

<pre><code>import cx_Oracle
print cx_Oracle.__file__
</code></pre>

<p>yields <code>C:\Python27\lib\site-packages\cx_Oracle.pyd</code>, and you can see the <a href="http://i.stack.imgur.com/K0bXX.png" rel="nofollow">Project Interpreter Paths</a> here.</p>

<p>Go to <code>File &gt; Invalidate Caches &gt; Invalidate</code> and Restart or Invalidate and check. </p>

<p>If you want to check the library inside pyCharm go to <code>File &gt; Settings &gt; Project &gt; Project Interpreter</code>. Select the interpreter and check the library is listed.</p>

<p>If you want to check the path where the said module is installed.</p>

<pre><code>import cx_Oracle
print cx_Oracle.__file__
</code></pre>

python pycharm cx-oracle