Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Module mutagen
#1
Hi,

I'm trying to create an mp3-player.

But having trouble loading the mutagen module.

I always get en error "No module named 'mutagen'".

It is installed (dit that 10 times)
If I check all my modules installed, it's there.

I tried 'almost' everything but always keep getting the same error.

Cananyone help me out?

Thanks.
Reply
#2
Which OS?
pip decide which version you install to,use pip -V on Linux it could be pip3 -V
Then need to use same Python version that pip point to.
Some Editors need to configure so use right interpreter(also the Python version pip point to).

Here in virtual environment Windows.
(forum_env) E:\div_code\forum_env
# Test pip
λ pip -V
pip 19.2.3 from e:\div_code\forum_env\lib\site-packages\pip (python 3.7)

# Install
(forum_env) E:\div_code\forum_env
λ pip install mutagen
Collecting mutagen
  Downloading ...
Successfully installed mutagen-1.42.0

# Test that work
(forum_env) E:\div_code\forum_env
λ python
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import mutagen
>>>
>>> mutagen.version
(1, 42, 0)
>>> exit()
(forum_env) E:\div_code\forum_env
Reply


Forum Jump:

User Panel Messages

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