Python Forum
No module named 'importlib.metadata'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No module named 'importlib.metadata'
#1
Hi!

Windows 7 (x86).
Python 3.8.0a3 (32-bit), new installation. I can't install a newer version of Python because my computer is old - problems with updating Windows.

When using the module 'requests', an error occurs "No module named 'importlib.metadata'".

The module 'requests' was installed in Python without errors using the command "py -3.8 -m pip install requests".
The module 'importlib.metadata' was installed in Python without errors using the command "py -3.8 -m pip install importlib.metadata".

How to fix this error?
Reply
#2
Please:
  1. Open a command window on Windows 7
  2. at command line prompt, type systeminfo
  3. Please post OS Version and System Type
Reply
#3
(Jan-29-2025, 09:01 AM)Larz60+ Wrote: Please:
  1. Open a command window on Windows 7
  2. at command line prompt, type systeminfo
  3. Please post OS Version and System Type

Node name: USER1-PC
OS Name: Microsoft Windows 7 Ultimate
OS Version: 6.1.7601 Service Pack 1 build 7601

Fix(es): Number of fixes installed - 3.
[01]: KB2534111
[02]: KB2999226
[03]: KB976902
Reply
#4
*** Important *** you didn't show System Type, (just to verify OS width (32, 64))

I found the following (unfortunately all for 64 bit version):

On this forum

also: this blog

Also, from here it is stated that you need update kb2533623.


Search google with: "how to install python 3.8 on windows 7 Ultimate, Version: 6.1.7601 Service Pack 1 build 7601"

I'm not a big user of windows, but hope this might give you some ideas.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ModuleNotFoundError: No module named 'tkcalendar', Thonny, Windows 10 Edward_ 4 909 Apr-06-2025, 07:56 PM
Last Post: Edward_
  Metadata Xls file documnet properties Andrew_andy9642 0 634 Aug-29-2024, 04:46 PM
Last Post: Andrew_andy9642
  ModuleNotFoundError: No module named 'athena_read' raman 2 1,342 Jul-01-2024, 07:52 AM
Last Post: Gribouillis
  no module named 'docx' when importing docx MaartenRo 1 5,798 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 31,367 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 10,324 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 4,589 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 3,944 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 3,291 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 2,499 Jul-09-2023, 11:24 AM
Last Post: yaoyao22

Forum Jump:

User Panel Messages

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