python pyquery import not working on Mac OS Sierra
<p>I'm trying to import pyquery as I did hundreds on time before, and it's not working. It looks like related to the Mac OS Sierra. (module installed with pip and up-to-date)</p>

<pre><code>from pyquery import PyQuery as pq
</code></pre>

<p>And got an error on the namespacing</p>

<pre><code>ImportError: cannot import name PyQuery
</code></pre>

<p>Any idea ? 
Thx !</p>

<p>Finally found why. My file had the same name as my import... 
So the library import was overridden by the name of the .py file. </p>

python osx pyquery