FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-26-2011, 01:06 PM
Davide Anchisi
 
Default pyPdf with python3?

Hi,

how can I have pyPdf working with python3?
I have installed python-pypdf (debian package: 1.13-1) and python3.2 (3.2.1~rc1-1), but when executing a script with:
** from pyPdf import PdfFileReader
I get the following error:



** ImportError: No module named pyPdf

Further details:
Distribution: sqeeze, with some packages from testing and debian-backports.
Some other python packages on my system: python2.* (2.5.5-11; 2.6.7-3; 2.7.2-5).




Thanks for any help

** Davide
 
Old 09-26-2011, 01:39 PM
Camaleón
 
Default pyPdf with python3?

On Mon, 26 Sep 2011 15:06:49 +0200, Davide Anchisi wrote:

> how can I have pyPdf working with python3? I have installed python-pypdf
> (debian package: 1.13-1) and python3.2 (3.2.1~rc1-1), but when executing
> a script with:
> from pyPdf import PdfFileReader
> I get the following error:
> ImportError: No module named pyPdf

(...)

Have you checked the module compatibility for v3 or have you try to run
it from another python version? :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.09.26.13.39.28@gmail.com">http://lists.debian.org/pan.2011.09.26.13.39.28@gmail.com
 
Old 09-26-2011, 05:55 PM
Cousin Stanley
 
Default pyPdf with python3?

Davide Anchisi wrote:

> how can I have pyPdf working with python3?
> ....

Just a guess that pyPdf might not currently
be compatible with python3 ....

You might try the comp.lang.python newsgroup
for a more definitive answer ....


--
Stanley C. Kitching
Human Being
Phoenix, Arizona


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: j5qe9n$nom$1@dont-email.me">http://lists.debian.org/j5qe9n$nom$1@dont-email.me
 

Thread Tools




All times are GMT. The time now is 03:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org