I also tried ‘python -m pip install couchbase’ but I got the same error, i am using python 2.7.17 is there anyway I can use couchbase with python 2.7? am new to this so any info helps.
Collecting couchbase
Using cached couchbase-2.5.11.tar.gz (591 kB)
ERROR: Command errored out with exit status 1:
command: ‘c:\python27\python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘c:\users\ek919y\appdata\local\temp\pip-install-7qls_t\couchbase\setup.py’"’"’; file=’"’"‘c:\users\ek919y\appdata\local\temp\pip-install-7qls_t\couchbase\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ egg_info --egg-base ‘c:\users\ek919y\appdata\local\temp\pip-install-7qls_t\couchbase\pip-egg-info’
cwd: c:\users\ek919y\appdata\local\temp\pip-install-7qls_t\couchbase
Complete output (5 lines):
Traceback (most recent call last):
File “”, line 1, in
File “c:\users\ek919y\appdata\local\temp\pip-install-7qls_t\couchbase\setup.py”, line 109, in
raise pip.exceptions.InstallationError(“Windows on Python earlier than v3 unsupported.”)
AttributeError: ‘module’ object has no attribute ‘exceptions’
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.