title: Pycurl Error : AttributeError: 'module' object has no attribute 'Curl'
body: <p>Brand new raspberry pi using the debian image from the pi site.</p>
  
  <p>I used sudo apt-get install python-pycurl</p>
  
  <p>My script looks like this</p>
  
  <pre><code>import pycurl
  c = pycurl.Curl()
  c.setopt(c.POST, 1)
  c.setopt(c.SSL_VERIFYPEER, 1)
  c.setopt(c.CAINFO, '/etc/ssl/certs/ca-certificates.crt')
  c.setopt(c.URL, 'https://theurl.com')
  c.setopt(c.USERPWD, 'user:pass')
  c.setopt(c.POSTFIELDS, 'Field1=This&amp;Field2=That')
  c.perform()
  </code></pre>
  
  <p>I'm getting this</p>
  
  <pre><code>Traceback (most recent call last):
    File "pycurl.py", line 1, in &lt;module&gt;
  import pycurl
    File "/home/pi/test/pycurl.py", line 3, in &lt;module&gt;
      c = pycurl.Curl()
  AttributeError: 'module' object has no attribute 'Curl'
  </code></pre>