NameError: name 'fcntl' is not defined
<p>I've installed <code>PuDB</code> on <code>python 3.4.2</code> which is in <code>virtualenv</code> and running on <code>windows 7 sp1</code>.</p>

<p>I first activate virtualenv</p>

<pre><code>workon env01
</code></pre>

<p>then enter to python console</p>

<pre><code>python
</code></pre>

<p>now I need to test PuDB as following</p>

<pre><code>&gt;&gt;&gt; import pudb
&gt;&gt;&gt; pudb.set_trace()
</code></pre>

<p>and I get this error</p>

<pre><code>&gt; Traceback (most recent call last):   File "&lt;stdin&gt;", line 1, in
&gt; &lt;module&gt;   File
&gt; "C:\Users\L3\Envs\env01\lib\site-packages\pudb\__init__.py", line 150,
&gt; in set_trace
&gt;     dbg = _get_debugger()   File "C:\Users\L3\Envs\env01\lib\site-packages\pudb\__init__.py", line 35,
&gt; in _get_debugger
&gt;     dbg = Debugger(**kwargs)   File "C:\Users\L3\Envs\env01\lib\site-packages\pudb\debugger.py", line 150,
&gt; in __init__
&gt; 
&gt;    self.ui = DebuggerUI(self, stdin=stdin, stdout=stdout, term_size=term_size)   File
&gt; "C:\Users\L3\Envs\env01\lib\site-packages\pudb\debugger.py", line
&gt; 1871, in __init__
&gt;     self.screen = ThreadsafeRawScreen()   File "C:\Users\L3\Envs\env01\lib\site-packages\urwid\raw_display.py", line
&gt; 89, in __init__
&gt;     fcntl.fcntl(self._resize_pipe_rd, fcntl.F_SETFL, os.O_NONBLOCK) NameError: name 'fcntl' is not defined
</code></pre>

<p>Am I doing something wrong?</p>