View Single Post
Old 03-28-2011, 01:44 AM   #1
rozen
Member
rozen began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Dec 2010
Location: CA
Device: nook
Problem building Calibre from source on Ubuntu 10.10

Hi,

I just built version 0.7.52 on ubuntu 10.10. In order to build it I installed Python 2.7.1 and all of the necessary bits and pieces. When it finished installing calibre, it suggested that I start it by issuing the terminal command calibre. It failed to run.

It tracked the problem down to the fact that I have both python2.6 and python2.7 installed. So the command that I used to build calibre was

time sudo python2.7 setup.py install

however, when I looked at the installed python scripts such as
/usr/local/bin/calibre i saw that the first line was

#!/usr/bin/env python2

so I changed that to

#!/usr/bin/env python2.7

and it ran fine.

My system has the command 'python' invoke to python 2.6
and 'python2.7' refer to python 2.7 so that my old programs run with python 2.6 until I get all the goddies I need installed for 2.7. Needless to say, I was surprised to see the script line refer to python2.

I have calibre now working but there is a question some where.

Don
rozen is offline   Reply With Quote