Description
1. Install python 3.6 (or any python 3.5+)
2. Install all dependencies required to install couchbase python sdk
3. Install python 3 couchbase sdk
4. Run any simple sample application
The sample application should run without any issues. But we see the following error when running the application.
Traceback (most recent call last):
|
File "dummy_loader.py", line 3, in <module>
|
from couchbase.cluster import Cluster, ClusterOptions, PasswordAuthenticator
|
ModuleNotFoundError: No module named 'couchbase'
|
root@ubuntu-1404:~/dummy-greenboard-data-generator# python3 dummy_loader.py
|
Traceback (most recent call last):
|
File "dummy_loader.py", line 3, in <module>
|
from couchbase.cluster import Cluster, ClusterOptions, PasswordAuthenticator
|
File "/usr/local/lib/python3.5/dist-packages/couchbase/__init__.py", line 1, in <module>
|
import couchbase_core._bootstrap
|
File "/usr/local/lib/python3.5/dist-packages/couchbase_core/__init__.py", line 45, in <module>
|
import couchbase_core._libcouchbase as _LCB
|
ImportError: libcouchbase.so.7: cannot open shared object file: No such file or directory
|
This issue is not seen if I uninstall couchbase package and install an older version (3.0.10).