09-30-2012, 05:25 AM | #16 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2010
Device: BeBook Neo
|
Error installing in Linux
Hi, tried installing this in Arch Linux but this happens...
Code:
sudo python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()" Enter the installation directory for calibre [/opt]: Will download and install calibre-0.9.0-x86_64.tar.bz2 Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 285, in main File "<string>", line 243, in download_and_extract File "<string>", line 223, in download_tarball File "<string>", line 201, in __init__ File "<string>", line 92, in __init__ TypeError: 'str' does not support the buffer interface Thanks |
09-30-2012, 05:39 AM | #17 |
creator of calibre
Posts: 44,337
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use sudo python2.7 instead of sudo python
|
09-30-2012, 06:25 AM | #18 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2010
Device: BeBook Neo
|
good call, thanks. All working now.
|
09-30-2012, 06:33 AM | #19 |
creator of calibre
Posts: 44,337
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
09-30-2012, 06:43 AM | #20 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2010
Device: BeBook Neo
|
dunno. I update frequently and therefore I assume Arch maintainers think this is a good idea. The version I have though is 3.2.3.
I couldn't think of a reason to do anything different with python wrt versions. Whilst I have had a dabble with it, I am a Java developer. |
09-30-2012, 03:35 PM | #21 |
Junior Member
Posts: 6
Karma: 10
Join Date: May 2011
Location: Preston, UK
Device: Kindle Paperwhite
|
"Alternate Download Location" points to the wrong version!...
Currently, if I go to the download link for the standard Windows version (http://calibre-ebook.com/download_windows) then pick "alternate download location", the default version offered on sourceforge.net is the portable version (http://sourceforge.net/projects/calibre/). Rather confusing, to say the least! |
09-30-2012, 11:12 PM | #22 |
creator of calibre
Posts: 44,337
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Morf: Thanks, fixed.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle not recognised by Calibre suddenly after updating to Calibre 8.67 | specialvintage | Devices | 2 | 09-01-2012 10:33 AM |
How do I make all .pdf's in my calibre library open in calibre instead of preview | morbo3000 | Library Management | 9 | 07-30-2011 10:39 AM |
Patch: Calibre adds tags to identify ebook formats created by calibre. | siebert | Calibre | 1 | 07-18-2011 02:07 PM |
How install Calibre & Calibre Library where I choose? | akmatov | Calibre | 3 | 01-17-2011 08:36 PM |
Kindle and Calibre user with problem importing large library into Calibre | pleabargain | Calibre | 1 | 12-07-2010 10:19 AM |