Python Forum
ModuleNotFoundError: No module named 'PyPDF2'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ModuleNotFoundError: No module named 'PyPDF2'
#1
I am getting an IndexError, and not sure why? My goal is to when i login submitted success then take the next py file .

from PyPDF2 import PdfReader, PdfWriter
ModuleNotFoundError: No module named 'PyPDF2'
Reply
#2
Hi,
I use PyPDF sometimes, like this:
from PyPDF2 import PdfFileReader, PdfFileWriter
I seem to remember that your import format is obsolete ?...
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ModuleNotFoundError: No module named 'athena_read' raman 0 168 Jun-23-2024, 04:16 AM
Last Post: raman
  no module named 'docx' when importing docx MaartenRo 1 1,358 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 25,005 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 3,490 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,826 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  PyPDF2 deprecation problem gowb0w 5 5,336 Sep-21-2023, 12:38 PM
Last Post: Pedroski55
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,682 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,286 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 10,623 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 1,165 May-15-2023, 02:38 PM
Last Post: tonynapoli2309

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020