[GH-ISSUE #51] No module named 'ytmusicapi.mixins' after upgrade to 0.9.0 #38

Closed
opened 2026-02-27 22:07:41 +03:00 by kerem · 3 comments
Owner

Originally created by @czifumasa on GitHub (Jul 24, 2020).
Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/51

Hi, As this is my first issue here, I'd like to thank you for your great work with this api.

In my little project I'd like to upgrade to 0.9.0 version, but then when i run my script, api throws error during import:

File "E:\workspace_ll\ytmusic-lib-tracker\ytmusiclibtracker\export_playlists.py", line 2, in <module>
from ytmusiclibtracker.ytm_api_wrapper import *
File "E:\workspace_ll\ytmusic-lib-tracker\ytmusiclibtracker\ytm_api_wrapper.py", line 1, in <module>
from ytmusicapi import YTMusic
File "C:\Users\Czifumasa\.virtualenvs\ytmusic-lib-tracker-HSFrdYBv\lib\site-packages\ytmusicapi_init_.py", line 2, in <module>
from ytmusicapi.ytmusic import YTMusic
File "C:\Users\Czifumasa\.virtualenvs\ytmusic-lib-tracker-HSFrdYBv\lib\site-packages\ytmusicapi\ytmusic.py", line 11, in <module>
from ytmusicapi.mixins.browsing import BrowsingMixin
ModuleNotFoundError: No module named 'ytmusicapi.mixins'

On 0.8.1 version everything worked correctly. When I checked installed ytmusicapi package content from pypi, folder mixins is missing in 0.9.0 realease.

My OS: Windows 10, Python: 3.8.2, ytmusicapi: 0.9.0

Originally created by @czifumasa on GitHub (Jul 24, 2020). Original GitHub issue: https://github.com/sigma67/ytmusicapi/issues/51 Hi, As this is my first issue here, I'd like to thank you for your great work with this api. In my little project I'd like to upgrade to 0.9.0 version, but then when i run my script, api throws error during import: > File "E:\workspace_ll\ytmusic-lib-tracker\ytmusiclibtracker\export_playlists.py", line 2, in \<module> from ytmusiclibtracker.ytm_api_wrapper import * File "E:\workspace_ll\ytmusic-lib-tracker\ytmusiclibtracker\ytm_api_wrapper.py", line 1, in \<module> from ytmusicapi import YTMusic File "C:\Users\Czifumasa\\.virtualenvs\ytmusic-lib-tracker-HSFrdYBv\lib\site-packages\ytmusicapi\__init__.py", line 2, in \<module> from ytmusicapi.ytmusic import YTMusic File "C:\Users\Czifumasa\\.virtualenvs\ytmusic-lib-tracker-HSFrdYBv\lib\site-packages\ytmusicapi\ytmusic.py", line 11, in \<module> from ytmusicapi.mixins.browsing import BrowsingMixin ModuleNotFoundError: No module named 'ytmusicapi.mixins' On 0.8.1 version everything worked correctly. When I checked installed ytmusicapi package content from [pypi](https://pypi.org/project/ytmusicapi/0.9.0/#filese), folder `mixins` is missing in 0.9.0 realease. My OS: Windows 10, Python: 3.8.2, ytmusicapi: 0.9.0
kerem closed this issue 2026-02-27 22:07:41 +03:00
Author
Owner

@sigma67 commented on GitHub (Jul 24, 2020):

Well that's not good. I thought they would be included automatically. I'll push a fix right away. I've removed the faulty version from PyPi and will publish the new one as 0.9.1

<!-- gh-comment-id:663712887 --> @sigma67 commented on GitHub (Jul 24, 2020): Well that's not good. I thought they would be included automatically. I'll push a fix right away. I've removed the faulty version from PyPi and will publish the new one as 0.9.1
Author
Owner

@sigma67 commented on GitHub (Jul 24, 2020):

Thanks again for the quick notice!

<!-- gh-comment-id:663732030 --> @sigma67 commented on GitHub (Jul 24, 2020): Thanks again for the quick notice!
Author
Owner

@czifumasa commented on GitHub (Jul 24, 2020):

Great! Thank you for fast reaction, I can confirm with 0.9.1 package works perfectly again

<!-- gh-comment-id:663745376 --> @czifumasa commented on GitHub (Jul 24, 2020): Great! Thank you for fast reaction, I can confirm with 0.9.1 package works perfectly again
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ytmusicapi#38
No description provided.