Error: cannot import name 'pi'
<p>for some reason I'm getting an error when I try to import pi in my code. For example, I'll create a file in Text Wrangler with the following code:</p>

<pre><code>from math import pi

print(pi * 2)
</code></pre>

<p>When I run the code in Terminal, I get the error:</p>

<pre><code>Traceback (most recent call last):
  File "ex.py", line 1, in &lt;module&gt;
    from math import pi
ImportError: cannot import name 'pi'
</code></pre>

<p>This just seems very weird to me, and through some research I've read a bit about circular dependencies but I don't think that's really relevant. Any help would be great!</p>