(Nov-07-2016, 02:49 PM)Blue Dog Wrote: Python as a long way to go be for it is user friendly, when is comes to install.
If you think python is bad try to link multiple libraries with c++, or using make files.
On my windows i have numerous python versions installed. I always have a 2.x version and a 3.x version to at least check if my programs run in both versions. But most of them are because i never removed them and installed the next minor updated one such as below. But each of them are independent python installs with their own separate pip and 3rd party libs installed. This is optional, but i usually change the exe name to the version such as python.exe -> python27.exe and append each to the PATH.
C:\Python27
C:\Python33
C:\Python34
C:\Python35-32
Quote:so reinstalled the operating system
You dont need to reinstall the OS just to remove anaconda or python versions. You can just run the uninstallers from control panel to remove them.
EDIT:
I just saw this
Quote:.bashrc
so are you running in linux?
Package managers make it uber simple for a 3rd party install for the most used libraries.
for example the ubuntu repos has this
Quote:metulburr@ubuntu:~$ sudo apt-cache search python-couch
python-couchdb - library for working with Apache CouchDB
python-couchdbkit - Trying to improve couchdb experience in Python
and to install it would be with ubuntus package manager
sudo apt-get install python-couchdb
If the library is not in the repos, you can just download the library
https://pypi.python.org/pypi/CouchDB
and run the setup script
python3 setup.py install
where python3 is how you inoke your python3 interpreter.
For example:
metulburr@ubuntu:~$ wget https://pypi.python.org/packages/9a/e8/c3c8da6d00145aaca07f2b784794917613dad26532068da4e8392dc48d7f/CouchDB-1.1.tar.gz#md5=2ed5ad2a477fd3cb472ed6dc5a381ff3
--2016-11-07 10:48:59-- https://pypi.python.org/packages/9a/e8/c3c8da6d00145aaca07f2b784794917613dad26532068da4e8392dc48d7f/CouchDB-1.1.tar.gz
Resolving pypi.python.org (pypi.python.org)... 151.101.32.223, 2a04:4e42:8::223
Connecting to pypi.python.org (pypi.python.org)|151.101.32.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 60839 (59K) [application/octet-stream]
Saving to: ‘CouchDB-1.1.tar.gz.1’
CouchDB-1.1.tar.gz. 100%[===================>] 59.41K --.-KB/s in 0.07s
2016-11-07 10:48:59 (886 KB/s) - ‘CouchDB-1.1.tar.gz.1’ saved [60839/60839]
metulburr@ubuntu:~$ tar -zxf CouchDB-1.1.tar.gz
metulburr@ubuntu:~$ cd CouchDB-1.1/
metulburr@ubuntu:~/CouchDB-1.1$ sudo !!
sudo python3 setup.py install
[sudo] password for metulburr:
running install
Checking .pth file support in /usr/local/lib/python3.5/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.5/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
writing entry points to CouchDB.egg-info/entry_points.txt
writing top-level names to CouchDB.egg-info/top_level.txt
writing CouchDB.egg-info/PKG-INFO
writing dependency_links to CouchDB.egg-info/dependency_links.txt
reading manifest file 'CouchDB.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'CouchDB.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/couchdb
copying couchdb/util2.py -> build/lib/couchdb
copying couchdb/http.py -> build/lib/couchdb
copying couchdb/loader.py -> build/lib/couchdb
copying couchdb/__init__.py -> build/lib/couchdb
copying couchdb/design.py -> build/lib/couchdb
copying couchdb/__main__.py -> build/lib/couchdb
copying couchdb/util3.py -> build/lib/couchdb
copying couchdb/client.py -> build/lib/couchdb
copying couchdb/util.py -> build/lib/couchdb
copying couchdb/json.py -> build/lib/couchdb
copying couchdb/multipart.py -> build/lib/couchdb
copying couchdb/view.py -> build/lib/couchdb
copying couchdb/mapping.py -> build/lib/couchdb
creating build/lib/couchdb/tools
copying couchdb/tools/dump.py -> build/lib/couchdb/tools
copying couchdb/tools/__init__.py -> build/lib/couchdb/tools
copying couchdb/tools/replicate.py -> build/lib/couchdb/tools
copying couchdb/tools/load.py -> build/lib/couchdb/tools
creating build/lib/couchdb/tests
copying couchdb/tests/loader.py -> build/lib/couchdb/tests
copying couchdb/tests/__init__.py -> build/lib/couchdb/tests
copying couchdb/tests/design.py -> build/lib/couchdb/tests
copying couchdb/tests/__main__.py -> build/lib/couchdb/tests
copying couchdb/tests/testutil.py -> build/lib/couchdb/tests
copying couchdb/tests/couch_tests.py -> build/lib/couchdb/tests
copying couchdb/tests/client.py -> build/lib/couchdb/tests
copying couchdb/tests/couchhttp.py -> build/lib/couchdb/tests
copying couchdb/tests/multipart.py -> build/lib/couchdb/tests
copying couchdb/tests/view.py -> build/lib/couchdb/tests
copying couchdb/tests/tools.py -> build/lib/couchdb/tests
copying couchdb/tests/package.py -> build/lib/couchdb/tests
copying couchdb/tests/mapping.py -> build/lib/couchdb/tests
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/util2.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/http.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/loader.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/__init__.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/design.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/__main__.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/util3.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/client.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/util.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/json.py -> build/bdist.linux-x86_64/egg/couchdb
creating build/bdist.linux-x86_64/egg/couchdb/tools
copying build/lib/couchdb/tools/dump.py -> build/bdist.linux-x86_64/egg/couchdb/tools
copying build/lib/couchdb/tools/__init__.py -> build/bdist.linux-x86_64/egg/couchdb/tools
copying build/lib/couchdb/tools/replicate.py -> build/bdist.linux-x86_64/egg/couchdb/tools
copying build/lib/couchdb/tools/load.py -> build/bdist.linux-x86_64/egg/couchdb/tools
copying build/lib/couchdb/multipart.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/view.py -> build/bdist.linux-x86_64/egg/couchdb
copying build/lib/couchdb/mapping.py -> build/bdist.linux-x86_64/egg/couchdb
creating build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/loader.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/__init__.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/design.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/__main__.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/testutil.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/couch_tests.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/client.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/couchhttp.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/multipart.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/view.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/tools.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/package.py -> build/bdist.linux-x86_64/egg/couchdb/tests
copying build/lib/couchdb/tests/mapping.py -> build/bdist.linux-x86_64/egg/couchdb/tests
byte-compiling build/bdist.linux-x86_64/egg/couchdb/util2.py to util2.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/http.py to http.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/loader.py to loader.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/design.py to design.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/__main__.py to __main__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/util3.py to util3.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/client.py to client.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/util.py to util.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/json.py to json.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tools/dump.py to dump.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tools/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tools/replicate.py to replicate.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tools/load.py to load.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/multipart.py to multipart.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/view.py to view.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/mapping.py to mapping.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/loader.py to loader.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/design.py to design.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/__main__.py to __main__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/testutil.py to testutil.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/couch_tests.py to couch_tests.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/client.py to client.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/couchhttp.py to couchhttp.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/multipart.py to multipart.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/view.py to view.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/tools.py to tools.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/package.py to package.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/couchdb/tests/mapping.py to mapping.cpython-35.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying CouchDB.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CouchDB.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CouchDB.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CouchDB.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CouchDB.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying CouchDB.egg-info/zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/CouchDB-1.1-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing CouchDB-1.1-py3.5.egg
Copying CouchDB-1.1-py3.5.egg to /usr/local/lib/python3.5/dist-packages
Adding CouchDB 1.1 to easy-install.pth file
Installing couchdb-dump script to /usr/local/bin
Installing couchpy script to /usr/local/bin
Installing couchdb-replicate script to /usr/local/bin
Installing couchdb-load-design-doc script to /usr/local/bin
Installing couchdb-load script to /usr/local/bin
Installed /usr/local/lib/python3.5/dist-packages/CouchDB-1.1-py3.5.egg
Processing dependencies for CouchDB==1.1
Finished processing dependencies for CouchDB==1.1
metulburr@ubuntu:~/CouchDB-1.1$ python3
Python 3.5.2 (default, Sep 10 2016, 08:21:44)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import couchdb
>>>