| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 1 
				Karma: 10 
				Join Date: Dec 2010 
				
				
				
				Device: HTC Desire Z 
				
				
				 | 
	
	
	
		
		
			
			 
			
			Hello, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I'm running Crunchbang Linux on my Asus EeePC, and am attempting to get Calibre installed and running. When I use the command line python script, Code: 
	sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"
Code: 
	Enter the installation directory for calibre [/opt]: 
Will download and install calibre-0.7.33-i686.tar.bz2
                    Downloading calibre-0.7.33-i686.tar.bz2                     
100% [======================================================================]
                                                                                Downloaded 42569064 bytes
Checking downloaded file integrity...
Extracting files to /opt/calibre ...
Extracting application files...
Traceback (most recent call last):
  File "site.py", line 48, in main
  File "site.py", line 37, in set_qt_plugin_path
ImportError: cannot import name QCoreApplication
Run "calibre" to start calibre
brad@bgc-eee:/opt$
![]() I really want to get going with using Calibre - it'd be great for managing school documents as well as ebooks. Thank you, Brad Camroux  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			this will be caused by some missing/conflicting system library. Do this this to get debug output about which library: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	LD_DEBUG=libs calibre-debug -c "print 1" 2>&1 | less SCroll through the resulting output till you find the errors  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 1 
				Karma: 10 
				Join Date: Feb 2011 
				
				
				
				Device: iPhone 
				
				
				 | 
	
	
	
		
		
			
			 
			
			Hi Kovid and Brad, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I've been googling for the same error message "ImportError: cannot import name QCoreApplication" and for the same reasons, as I came across your thread. I have a Debian Lenny 5.0.8 Server and would like to deploy my Calibre-Library onto it. After I read about the "calibre-server" feature, I was more excited. So first I should first to ensure that my system fulfills the prequisites. Specially the GLIBC. I checked through Aptitude and found a preinstalled one "libc6 Version: 2.7-18lenny7". So I was in doubt, since the version no. is totally different from the requested noted. Anyway I execute Code: 
	python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()
@Kovid At this step, it's still not possible to run any calibre-command. @Brad did you find meanwhile a solution to this? Greetings Wahid  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Aug 2011 
				Location: Comox, BC 
				
				
				Device: Galaxy Tab 2 
				
				
				 | 
	
	
	
		
		
			
			 
				
				This is still an issue for me
			 
			
			
			Any update on this thread... I am trying to get calibre working on Debian Lenny and I am not having any luck getting past this error. I find it strange that I can have calibre working just fine instantly on Windows XP and on a portable stick but can't get it to work on Lenny. I am not an a "compile from source" kinda guy but I can download and move around files. I would be willing to bet that my problem is with the glibc that keeps getting thrown around in the forums but I don't see a step by step guide to installing calibre on lenny and getting it running properly. If anyone has any help on this please let me know.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525 
				Karma: 8065948 
				Join Date: Jan 2010 
				Location: Notts, England 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Calibre won't install on stock lenny. The glibc libraries are too old. You need squeeze. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I made it work quite some time ago by creating a chroot'ed partition, installing sid (squeeze didn't yet exist) libraries into that partition, then installing calibre. This was a royal bother and in the end I gave it up, but if you want to go down that road, then see https://www.mobileread.com/forums/sho...92#post1185292. You could also go the backport route to get the newer glibc. The problem is that glibc is used by *everything*. I started down this route and came close to bricking my server, so I don't recommend it. Better would be to upgrade to squeeze.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 8 
				Karma: 10 
				Join Date: Aug 2011 
				Location: Comox, BC 
				
				
				Device: Galaxy Tab 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Ok, so if I upgrade to squeeze then I take it all the problems go away and i can just use the linux binary install from calibre.... no other changes need to be made? Thanks for you help. I will look and if upgrading won't wreck any other functions that I like to have (like remote desktop) then I will give it a try.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 24 
				Karma: 10 
				Join Date: Jan 2012 
				
				
				
				Device: kindle 4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I've been googling for the same error message "ImportError: cannot import name QCoreApplication". My system is centos5.6 Linux. I want to know who has solved the problem. Any one can tell me how to solved it?  
		
	
		
		
		
		
		
		
		
		
		
		
	
	Think you! @Sardog @chaley @wahid @kovidgoyal  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Python not installing on Ubuntu | Robotech_Master | Calibre | 1 | 01-05-2011 08:08 AM | 
| Installing latest Calibre in Ubuntu 10.04 | maitrayei | Calibre | 4 | 09-10-2010 03:48 AM | 
| Install problem on Linux (Ubuntu 9.10) | hmonster | Calibre | 8 | 03-25-2010 06:08 AM | 
| Problems Installing on Lunix Ubuntu machine | Snackb0y11 | Calibre | 2 | 12-28-2009 12:04 PM | 
| Problem Installing Calibre on EeePC 901 (Ubuntu Jaunty) | andavane | Calibre | 4 | 11-08-2009 03:05 PM |