title: ImportError: No module named couchbase._libcouchbase
body: <p>This only happens for me in Travis under the pypy build. 
  Here's the exact error string:</p>
  
  <pre><code>Traceback (most recent call last):
    File "app_main.py", line 75, in run_toplevel
    File "app_main.py", line 581, in run_it
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "tests/test_pycouchbase.py", line 15, in &lt;module&gt;
      from pycouchbase.utils import *
    File "pycouchbase/__init__.py", line 8, in &lt;module&gt;
      from .connection import Connection
    File "pycouchbase/connection.py", line 3, in &lt;module&gt;
      from couchbase.bucket import Bucket
    File "/home/travis/virtualenv/pypy-2.5.0/site-packages/couchbase/__init__.py", line 28, in &lt;module&gt;
      from couchbase.user_constants import *
    File "/home/travis/virtualenv/pypy-2.5.0/site-packages/couchbase/user_constants.py", line 21, in &lt;module&gt;
      import couchbase._bootstrap
    File "/home/travis/virtualenv/pypy-2.5.0/site-packages/couchbase/_bootstrap.py", line 34, in &lt;module&gt;
      import couchbase.exceptions as E
    File "/home/travis/virtualenv/pypy-2.5.0/site-packages/couchbase/exceptions.py", line 18, in &lt;module&gt;
      import couchbase._libcouchbase as C
  ImportError: No module named couchbase._libcouchbase
  </code></pre>
  
  <p>I'm already trying to install couchbase_cffi, but it looks like <code>_libcouchbase.so</code> file is still missing. </p>
  
  <p>Link to build: <a href="https://travis-ci.org/ardydedase/pycouchbase/jobs/75973023#L1782" rel="nofollow">https://travis-ci.org/ardydedase/pycouchbase/jobs/75973023#L1782</a></p>
  
  <p>Travis config file:</p>
  
  <pre><code># Config file for automatic testing at travis-ci.org
  
  language: python
  
  python:
    - "3.4"
    - "3.3"
    - "2.7"
    - "2.6"
    - "pypy"
  
  before_install:
    - sudo rm -rf /etc/apt/sources.list.d/*
    - sudo add-apt-repository -y ppa:pypy/ppa
    - wget -O- http://packages.couchbase.com/ubuntu/couchbase.key | sudo apt-key add -
    - echo deb http://packages.couchbase.com/ubuntu precise precise/main | sudo tee /etc/apt/sources.list.d/couchbase.list
    - sudo apt-get update
    - sudo apt-cache search libcouchbase
  
  install:
    # GCC
    - sudo apt-get install python-software-properties
    - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
    - sudo apt-get update
    - sudo apt-get -y install gcc-4.8
    - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
    # libcouchbase dependencies
    - sudo apt-get -y install libxml2-dev libxslt-dev python-all-dev libffi6 libffi-dev 
    - sudo apt-get -y install build-essential libssl-dev python-openssl
    - sudo apt-get -y install libcouchbase-dev libcouchbase2-core libcouchbase2-libevent libevent-dev python-gevent
    - pip -q install gevent || echo "Couldn't find gevent"
    - pip -q install twisted
    - pip -q install testresources
    - pip install -r requirements.txt
  
  # command to run tests, e.g. python setup.py test
  script: 
    # - cd couchbase-python-cffi
    # - export CFLAGS=-Qunused-arguments
    # - export CPPFLAGS=-Qunused-arguments
    # - python setup.py test  
    # - python setup.py build
    - echo $PWD
    # - if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then git clone https://github.com/couchbase/couchbase-python-client.git &amp;&amp; cd couchbase-python-client &amp;&amp; python setup.py build_ext --inplace &amp;&amp; cd ..; fi
    - if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then cd couchbase-python-cffi &amp;&amp; python setup.py build  &amp;&amp; python setup.py install &amp;&amp; cd .. &amp;&amp; ls -al; fi  
    - if [[ $TRAVIS_PYTHON_VERSION == pypy ]]; then ls -al /home/travis/virtualenv/pypy-2.5.0/site-packages/couchbase; fi
    - python -c "from tests import test_pycouchbase; print(test_pycouchbase)"  
    - python runtests.py
  </code></pre>
  
  <p>I did try to refer to this thread: <a href="https://forums.couchbase.com/t/installing-couchbase-1-0-0-on-ubuntu/291" rel="nofollow">https://forums.couchbase.com/t/installing-couchbase-1-0-0-on-ubuntu/291</a>, but I can't find the <code>build</code> folder that is being referred in there.</p>