Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lost Module
#11
With no respect due, you are being obtuse. There is no package pypdf2. There is a package PyPDF2. If you type "pip list" do you see your package? Is it pypdf2 or PyPDF2? Use the same capitalization and spelling that appears in the packages list.

If you see PyPDF2 in the package list and you import using the exact same spelling and capitalization and it still fails then you didn't pip the package into the same python that is trying to use it. I ran into this a lot when I first started using virtual environments. I would pip from a command shell, adding the package to my latest Python installation and not into the virtual environment I was programming in.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Lost Control over VLC jrockow 8 1,061 Jul-18-2023, 06:04 PM
Last Post: jrockow
  Lost Modules standenman 2 718 Jun-22-2023, 12:18 PM
Last Post: standenman
  XML Editing formatting lost ateestructural 2 1,898 Apr-08-2021, 04:41 AM
Last Post: ndc85430
  List structure lost when multiplying Protonn 2 2,230 Apr-23-2020, 04:16 AM
Last Post: buran
  lost dictionary jjpy 1 1,883 Jul-10-2019, 12:19 PM
Last Post: scidam
  variable gets lost Jordy 10 9,101 Oct-10-2016, 08:08 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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