You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is an import error with charset-normalizer version>=3.3.0
Your code
import spotipy
Expected behavior
Output
ImportError: cannot import name 'is_ascii' from 'charset_normalizer.utils' (/Users/daniel/mambaforge/envs/research/lib/python3.11/site-packages/charset_normalizer/utils.py)
Environment:
OS: Mac
Python version 3.11.6
spotipy version 2.23.0
your IDE (if using any): Jupyter Kernel in VS Code
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
It is due to a dual version of charset-normalizer present in vendored libs of conda vs your regular site-package environment.
A quick fix is to align both versions, unfortunately. Force install a older version of charset-normalizer.
It's a known issue. Spotipy can't help for that one.
Describe the bug
There is an import error with
charset-normalizer
version>=3.3.0Your code
Expected behavior
Output
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: