Are you on Python 3? You can check your version of python by first typing
$ python
on the shell and then using the sys package:
import sys
print sys.version
The txJSON-RPC error that you’re noticing is a known problem while using Python 3. We currently only support Python 2.x and are looking into supporting Python 3.
Thanks for the help and I tried that before and still same error!!!
Last login: Tue Mar 8 13:55:33 on ttys000
senad@Senads-MBP-Work:~|⇒ sudo pip install --upgrade pip
The directory '/Users/senad/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/senad/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/site-packages
senad@Senads-MBP-Work:~|⇒
and…
senad@Senads-MBP-Work:~|⇒ sudo pip install blockstack
The directory '/Users/senad/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/senad/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting blockstack
Downloading blockstack-0.0.10.7.tar.gz
Collecting blockstore-client==0.0.12.7 (from blockstack)
Downloading blockstore-client-0.0.12.7.tar.gz (50kB)
100% |████████████████████████████████| 51kB 6.2MB/s
Collecting blockstore==0.0.10.7 (from blockstack)
Downloading blockstore-0.0.10.7.tar.gz (102kB)
100% |████████████████████████████████| 112kB 4.6MB/s
Collecting registrar==0.0.3.7 (from blockstack)
Downloading registrar-0.0.3.7.tar.gz
Collecting boto==2.38.0 (from blockstore-client==0.0.12.7->blockstack)
Downloading boto-2.38.0-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 995kB/s
Collecting basicrpc==0.0.2 (from blockstore-client==0.0.12.7->blockstack)
Downloading basicrpc-0.0.2.tar.gz
Collecting virtualchain==0.0.6 (from blockstore-client==0.0.12.7->blockstack)
Downloading virtualchain-0.0.6.tar.gz
Collecting protocoin==0.1 (from blockstore-client==0.0.12.7->blockstack)
Downloading protocoin-0.1.tar.gz
Collecting kademlia==0.5 (from blockstore==0.0.10.7->blockstack)
Downloading kademlia-0.5.tar.gz
Collecting keychain==0.1.4 (from blockstore==0.0.10.7->blockstack)
Downloading keychain-0.1.4.tar.gz
Collecting blockcypher==1.0.63 (from registrar==0.0.3.7->blockstack)
Downloading blockcypher-1.0.63.tar.gz
Collecting pymongo==2.7.2 (from registrar==0.0.3.7->blockstack)
Downloading pymongo-2.7.2-cp27-none-macosx_10_9_intel.whl (231kB)
100% |████████████████████████████████| 235kB 3.8MB/s
Collecting tinydb==3.1.3 (from registrar==0.0.3.7->blockstack)
Downloading tinydb-3.1.3.zip
Requirement already satisfied (use --upgrade to upgrade): pycrypto==2.6.1 in /usr/local/lib/python2.7/site-packages (from registrar==0.0.3.7->blockstack)
Collecting scrypt==0.7.1 (from registrar==0.0.3.7->blockstack)
Downloading scrypt-0.7.1-cp27-none-macosx_10_10_intel.whl
Collecting pybitcoin>=0.9.7 (from virtualchain==0.0.6->blockstore-client==0.0.12.7->blockstack)
Downloading pybitcoin-0.9.8.tar.gz (354kB)
100% |████████████████████████████████| 358kB 2.7MB/s
Collecting Twisted>=15.3.0 (from virtualchain==0.0.6->blockstore-client==0.0.12.7->blockstack)
Downloading Twisted-15.5.0.tar.bz2 (3.1MB)
100% |████████████████████████████████| 3.2MB 449kB/s
Collecting txJSON-RPC>=0.3.1 (from virtualchain==0.0.6->blockstore-client==0.0.12.7->blockstack)
Downloading txJSON-RPC-0.3.1.tar.gz (48kB)
100% |████████████████████████████████| 51kB 9.9MB/s
Complete output from command python setup.py egg_info:
Warning: '%s' not a legal ReST filename.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/tmp/pip-build-4fLs2P/txJSON-RPC/setup.py", line 25, in <module>
out=True),
File "/private/tmp/pip-build-4fLs2P/txJSON-RPC/txjsonrpc/util/dist.py", line 117, in catReST
report = validateReST(res)
File "/private/tmp/pip-build-4fLs2P/txJSON-RPC/txjsonrpc/util/dist.py", line 82, in validateReST
return _validateReST(text)
File "/private/tmp/pip-build-4fLs2P/txJSON-RPC/txjsonrpc/util/dist.py", line 57, in _validateReST
import docutils.utils
File "/usr/local/lib/python2.7/site-packages/docutils/utils/__init__.py", line 20, in <module>
import docutils.io
File "/usr/local/lib/python2.7/site-packages/docutils/io.py", line 18, in <module>
from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput
File "/usr/local/lib/python2.7/site-packages/docutils/utils/error_reporting.py", line 47, in <module>
locale_encoding = locale.getlocale()[1] or locale.getdefaultlocale()[1]
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 543, in getdefaultlocale
return _parse_localename(localename)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 475, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-4fLs2P/txJSON-RPC/
senad@Senads-MBP-Work:~|⇒
same issue?? so is this error unique to my setup or is common in 10.11 ?