cjson recommended for oribited, but not found.

135 views
Skip to first unread message

John Poole

unread,
Oct 22, 2009, 2:07:31 AM10/22/09
to Orbited Discussion
http://orbited.org/wiki/Installation
states:
vvvvv
Post-Installation Notes ¶

Orbited encodes data as JSON, using a library called demjson. If you
are looking for ways to speed up your project, try installing a super-
fast C-based JSON library such as cjson or simplejson. Remember
easy_install? It works here, too:

easy_install cjson
^^^^

Here was my attempt:

localhost django-registration # easy_install cjson
Searching for cjson
Reading http://pypi.python.org/simple/cjson/
Couldn't find index page for 'cjson' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for cjson
error: Could not find suitable distribution for Requirement.parse
('cjson')
localhost django-registration #

Is the documentation missing something or making an assumption about
the installed base?

Jacob Rus

unread,
Oct 22, 2009, 4:01:26 AM10/22/09
to orbite...@googlegroups.com
John Poole wrote:
> [...]
> easy_install cjson
>
> Searching for cjson [...]

> No local packages or download links found for cjson

Cjson can apparently be found (per the first link in a google search
for 'cjson') at
<http://pypi.python.org/pypi/python-cjson>

For me, `easy_install python-cjson` works great.

Hope that helps,
Jacob

John Poole

unread,
Oct 22, 2009, 10:57:18 AM10/22/09
to Orbited Discussion
The wiki page at http://orbited.org/wiki/Installation
needs to be updated as follows:
"easy_install cjson" to "easy_install python-cjson".


On Oct 22, 1:01 am, Jacob Rus <jacobo...@gmail.com> wrote:
...[snip]
> Cjson can apparently be found (per the first link in a google search
> for 'cjson') at
> <http://pypi.python.org/pypi/python-cjson>
>
> For me, `easy_install python-cjson` works great.
>

Perfect. I also did not know about the "-f" parameter, and that's
something valuable to know.
Thank you!

localhost / # easy_install python-cjson
Searching for python-cjson
Reading http://pypi.python.org/simple/python-cjson/
Reading http://ag-projects.com/
Best match: python-cjson 1.0.5
Downloading http://pypi.python.org/packages/source/p/python-cjson/python-cjson-1.0.5.tar.gz#md5=4d55b66ecdf0300313af9d030d9644a3
Processing python-cjson-1.0.5.tar.gz
Running python-cjson-1.0.5/setup.py -q bdist_egg --dist-dir /tmp/
easy_install-VLcQJk/python-cjson-1.0.5/egg-dist-tmp-WkYBMv
zip_safe flag not set; analyzing archive contents...
Adding python-cjson 1.0.5 to easy-install.pth file

Installed /mnt/seagate1/usr/lib/python2.6/site-packages/
python_cjson-1.0.5-py2.6-linux-armv5tel.egg
Processing dependencies for python-cjson
Finished processing dependencies for python-cjson
localhost / #

jpsimons

unread,
Oct 22, 2009, 12:36:53 PM10/22/09
to Orbited Discussion
Twisted and Orbited run just fine on python 2.6, which includes "json"
in the std lib. Why not just upgrade to a recent Ubuntu, or Snow
Leopard?


On Oct 22, 7:57 am, John Poole <jlpool...@gmail.com> wrote:
> The wiki page athttp://orbited.org/wiki/Installation
> needs to be updated as follows:
> "easy_install cjson" to "easy_install python-cjson".
>
> On Oct 22, 1:01 am, Jacob Rus <jacobo...@gmail.com> wrote:
> ...[snip]
>
> > Cjson can apparently be found (per the first link in a google search
> > for 'cjson') at
> > <http://pypi.python.org/pypi/python-cjson>
>
> > For me, `easy_install python-cjson` works great.
>
> Perfect. I also did not know about the "-f" parameter, and that's
> something valuable to know.
> Thank you!
>
> localhost / # easy_install python-cjson
> Searching for python-cjson
> Readinghttp://pypi.python.org/simple/python-cjson/
> Readinghttp://ag-projects.com/
> Best match: python-cjson 1.0.5
> Downloadinghttp://pypi.python.org/packages/source/p/python-cjson/python-cjson-1....
Reply all
Reply to author
Forward
0 new messages