Open shred66 opened 1 year ago
Hey, this might be helpful since I also had the same issue. I found out through a little digging that setuptools versions after v58 break use_2to3
functionality in certain packages. After running pip install setuptools==58
, pip install pygooglenews --upgrade
went through without any issue.
@andrewten45 thank you!!
Due to time limit i also tried using another similar package gnews
, from gnews import GNews
and it worked fine with python 3.11 and pip/pip3 22.3.1
@andrewten45 you saved my life
Generally updating setuptools or wheel or ez_setup resolves such bugs... But apparently in this case setuptools of the particular version number <=58 was needed as @andrewten45.... Thanks for the guidance and bug analysus @andrewten45
I ran into the same issue on Macbook, however pip install setuptools==58
didn't solve it for me.
i found the solution in the link below : https://stackoverflow.com/questions/75565954/giving-error-while-installing-the-package-in-python/75566372#75566372.
I attempted the following steps and succeeded.
Hey, this might be helpful since I also had the same issue. I found out through a little digging that setuptools versions after v58 break
use_2to3
functionality in certain packages. After runningpip install setuptools==58
,pip install pygooglenews --upgrade
went through without any issue.
Your approach is still helpful. Thank you so much!
i tried
pip install pygooglenews
on the cmd, and also on the terminal of VisualStudio Code but it gives me this error everytime:i tried different methods, such as to upgrade pip, pip3, and various solutions people propose here: https://github.com/facebook/prophet/issues/418
but nothing works....
If someone has any help, it would be helpful! Thanks