| 
			
			 | 
		#1 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106 
				Karma: 8300 
				Join Date: Jul 2012 
				Location: France 
				
				
				Device: Kobo Aura H2O, Kobo Touch, Kobo Mini 
				
				
				 | 
	
	
	
		
		
			
			 
				
				ImportError: No module named PyQT4
			 
			
			
			Hi, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	This is the message I get when I want to set Preferences > Conversion > Output options on Ubuntu Studio 14.04 64-bit. Whereis python gives: Code: 
	python: /usr/bin/python3.4m /usr/bin/python3.4 /usr/bin/python2.7 /usr/bin/python /etc/python3.4 /etc/python2.7 /etc/python /usr/lib/python3.4 /usr/lib/python2.7 /usr/bin/X11/python3.4m /usr/bin/X11/python3.4 /usr/bin/X11/python2.7 /usr/bin/X11/python /usr/local/lib/python3.4 /usr/local/lib/python2.7 /usr/include/python2.7 /usr/share/python /usr/share/man/man1/python.1.gz Code: 
	/usr/bin/python ??? Thanks.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 The Grand Mouse 高貴的老鼠 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,447 
				Karma: 318076944 
				Join Date: Jul 2007 
				Location: Norfolk, England 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You've either found a bug in calibre, or more likely you have a plugin that hasn't been updated to use the PyQt5 that calibre now uses instead of PyQt4. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Check your plugins.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			That indicates an (longish) out of date PI. Calibre 2.x requires QT5 compatible PI. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	If there is an updated PI for a PI listed at the top of this forum, it will show on the Get Plugins: Update tab If the PI was obtained elsewhere (or not in the index), you need to get the update there. Your other choice is to rollback Calibre to pre 2.x  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Ex-Helpdesk Junkie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421 
				Karma: 85400180 
				Join Date: Nov 2012 
				Location: The Beaten Path, USA, Roundworld, This Side of Infinity 
				
				
				Device: Kindle Touch fw5.3.7 (Wifi only) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			What is the specific error message? There should be a popup box with the message. If not, running calibre via the command "calibre-debug -g" will get you a log of everything. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I am guessing the issue is probably an out-of-date plugin. ![]() The error message should include where that message was triggered, probably somewhere in a plugin's code.  
		 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 106 
				Karma: 8300 
				Join Date: Jul 2012 
				Location: France 
				
				
				Device: Kobo Aura H2O, Kobo Touch, Kobo Mini 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks everybody. I'll check my plugins when I'm back to Linux (now working on Windows). But I think my plugins are almost the same as on Windows. The oldest ones are probably Inept Epub and so on, which are not supported here, but don't cause errors on the Win version. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The only error message is in my title, eschwatz: ImportError: No module named PyQT4.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 The Grand Mouse 高貴的老鼠 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,447 
				Karma: 318076944 
				Join Date: Jul 2007 
				Location: Norfolk, England 
				
				
				Device: Kindle Oasis 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Ex-Helpdesk Junkie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421 
				Karma: 85400180 
				Join Date: Nov 2012 
				Location: The Beaten Path, USA, Roundworld, This Side of Infinity 
				
				
				Device: Kindle Touch fw5.3.7 (Wifi only) 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 ![]() Also, usually there would be a button "Show details", but calibre-debug -g would definitely log it -- the goal is to get a traceback showing which functions led to the ImportError, likely a plugin reference. You can try that if updating to the latest Alf tools doesn't stop the error.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| ImportError: No module named PyQt4 | miglanc | Conversion | 8 | 09-11-2014 01:51 AM | 
| ImportError: No module named djvu | canadianjameson | Conversion | 12 | 04-02-2012 12:23 AM | 
| Error on install: No module named PyQt4 | good_man | Calibre | 4 | 02-18-2011 04:10 PM | 
| ImportError: No module named profiles | ould | Calibre | 11 | 02-28-2009 08:25 PM | 
| ImportError: No module named pkg_resources | erik80 | Calibre | 3 | 08-02-2008 10:33 AM |