alexmercerind/youtube-search-python

How can i solve incompatbile dependancy

gaetan1903 opened this issue · 4 comments

youtube-search-python 1.5.3 requires httpx>=0.14.2, but you have httpx 0.13.3 which is incompatible.``` 

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
googletrans 3.1.0a0 requires httpx==0.13.3, but you have httpx 0.21.3 which is incompatible.


I need this two module in the same project 
mytja commented

Google Trans must bump (or at least pin a minimum version - not fixed version) httpx version to newer.
Otherwise you can pin youtube-search-python version to v1.5.1, which comes without httpx restriction, but might come with a lot of bugs - especially Playlist, Video and StreamURLFetcher class.
You decide which path will you take.

EDIT: Google Trans seems dead. Maybe create a fork and replace httpx==.... with httpx>=.... in setup.py

Thanks,

image

I make a fork, and a i change required version,

and I change a line not compatible,
i change httpcore.SyncHttpTransport to httpx.HttpTransport ( i don't know if the same thing but, it works 😆

Thank you @mytja

So, we close the issue