Python Forum

Full Version: No module named 'importlib.metadata'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
Please:
  1. Open a command window on Windows 7
  2. at command line prompt, type systeminfo
  3. Please post OS Version and System Type
(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
*** 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.