Python Forum
ModuleNotFoundError: No module named 'eyed3'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ModuleNotFoundError: No module named 'eyed3'
#1
Sorry, I am new to Python...

I am trying to use eyed3 to update the tags on a number of mp3 files. I found eyed3 mentioned in some posts on the internet and tried following installation instructions:
Output:
py -m pip install eyeD3 py -m pip install python-magic-bin
Those install statements worked correctly. The eyeD3 command it provides works in Windows command prompt.

Then, also this to use eyed3 in python.
Output:
pip install eyed3
But when I try to run in python, on "import eyed3" statement, I get:
Error:
Exception has occurred: ModuleNotFoundError No module named 'eyed3' File "C:\python\chgmp3.py", line 2, in <module> import eyed3 ModuleNotFoundError: No module named 'eyed3'
I do not know how to debug this problem. I would appreciate any advice.
Reply
#2
You most use same Python version/interpreter as you install to,if run in a Editor
Example.
# Test pip
G:\div_code\egg
λ pip -V
pip 23.1.2 from C:\python311\Lib\site-packages\pip (python 3.11)

# Install
G:\div_code\egg
λ pip install eyed3
Collecting eyed3
...... 
Successfully installed coverage-5.5 deprecation-2.1.0 eyed3-0.9.7 filetype-1.2.0 toml-0.10.2

# Test
G:\div_code\egg
λ python
Python 3.11.3 (tags/v3.11.3:f3909b8, Apr  4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import eyed3
>>> # No error

>>> import sys
>>>
>>> sys.executable
'C:\\python311\\python.exe'
So if you test as i do here,see that i most use C:/python311/python.exe in setting(choose interpreter) Editor/IDE if i want eyed3 to work.
Reply
#3
Quote: setting(choose interpreter) Editor/IDE if i want eyed3 to work.
Thanks, that was exactly the problem.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 894 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 23,819 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,605 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,465 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,525 Aug-07-2023, 05:32 AM
Last Post: DPaul
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,049 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 9,142 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 1,020 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  ModuleNotFoundError: No module named 'omsdk.sdkproto' donvito7 4 1,871 Oct-20-2022, 02:56 PM
Last Post: deanhystad
  Encoding Issue in eyed3 giddyhead 2 1,866 Jul-22-2022, 02:03 AM
Last Post: giddyhead

Forum Jump:

User Panel Messages

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