leandcesar / themoviedb

A modern and easy to use API wrapper for The Movie Database (TMDb) API v3 written in Python.
https://pypi.org/project/themoviedb
MIT License
25 stars 7 forks source link

mportError: cannot import name 'route' from partially initialized module 'tmdb' #1

Closed DCMarine closed 1 year ago

DCMarine commented 2 years ago

Using any of your base samples to get this working fails with "cannot import name 'xxxxxx'"

Error: Traceback (most recent call last): File "/Volumes/OneDrive/Python/rss/tmdb.py", line 2, in from tmdb import route File "/Volumes/OneDrive/Python/rss/tmdb.py", line 2, in from tmdb import route ImportError: cannot import name 'route' from partially initialized module 'tmdb' (most likely due to a circular import) (/Volumes/OneDrive/Python/rss/tmdb.py)

leandcesar commented 1 year ago

The library was rewritten, fixing several errors: themoviedb