i have promises to keep and miles to go before i sleep – Robert Frost

bz2 error in plone buildout

I was getting error like this:
Getting distribution for ‘pyExcelerator’.
error: Not a recognized archive type: /home/tareq/DATA/projects/DANBIO_FOLDER/danbioplone41/buildout-cache/downloads/dist/pyexcelerator-0.6.4.1.tar.bz2
An error occured when trying to install pyexcelerator 0.6.4.1. Look above this message for any errors that were output by easy_install.

Clearly it means the bz2 module is missing in python of plone
then I tried import bz2
I got import error
I was then sure about it that bz2 is missing ,,
Then Started searching for bz2 module. got it here

http://labix.org/python-bz2#head-9d861ed4b45f8c628598226b959ce0a0a900ab29

download link: labix.org/download/python-bz2/python-bz2-1.1.tar.bz2
downloaded then with plone python setup.py install
fixed it !

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Tag Cloud

Follow

Get every new post delivered to your Inbox.