iamkroot / trakt-scrobbler

Scrobbler for trakt.tv that supports VLC, Plex, MPC-HC, and MPV.
https://github.com/iamkroot/trakt-scrobbler/wiki
GNU General Public License v2.0
466 stars 30 forks source link

Cant get trakts auth working? #280

Closed Kev1n121 closed 8 months ago

Kev1n121 commented 8 months ago

when try trakts auth it gives error

trakts auth

AttributeError

module 'pkgutil' has no attribute 'ImpImporter'

at AppData\Local\pipx\pipx\venvs\trakt-scrobbler\Lib\site-packages\pkg_resources__init__.py:2191 in 2187│ dist_groups = map(find_distributions, resolved_paths) 2188│ return next(dist_groups, ()) 2189│ 2190│ → 2191│ register_finder(pkgutil.ImpImporter, find_on_path) 2192│ 2193│ if hasattr(importlib_machinery, 'FileFinder'): 2194│ register_finder(importlib_machinery.FileFinder, find_on_path)

How can I auth my trakt?

using windows 11 and pipx

Kev1n121 commented 8 months ago

I see that this problem has more people, Also I downgraded my python to 3.11 but then i am getting this: PS C:\Users\user> pipx install trakt-scrobbler No Python at '"C:\Users\user\AppData\Local\Programs\Python\Python312\python.exe' No Python at '"C:\Users\user\AppData\Local\Programs\Python\Python312\python.exe' Fatal error from pip prevented installation. Full pip output in file: C:\Users\user\AppData\Local\pipx\pipx\Logs\cmd_2024-03-04_08.37.09_pip_errors.log

and the pip error is : C:\Users\user\AppData\Local\pipx\pipx\venvs\trakt-scrobbler\Scripts\python.exe: No module named pip

I have pip installed. pip --version pip 24.0 from C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)

Does someone know how to fix this?

Kev1n121 commented 8 months ago

Already fixed it