Search:

Search all manuals
Search this manual
Manual
Membase and Python Development Tutorial
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
Membase and Python Development Tutorial
Chapter Sections
Chapters

4. Testing the Installation

The above steps install your new module, named couchbase, into your default Python installation. With the couchbase module installed, Python should now be able to access the module. This can be tested by launching Python and trying a simple import command. The command will return quietly to the Python >>> prompt if it loads properly.

$ python
Python 2.6.7 (r267:88850, Jul 18 2011, 14:32:54)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import couchbase
>>>

If successful this means that all the files for the module have been properly installed and are accessible to your Python instance. Otherwise it will get confused and complain that your new module cannot be found.