geekpradd / PyDictionary

PyDictionary is a Dictionary Module for Python 2/3 to get meanings, translations, synonyms and antonyms of words
https://pypi.python.org/pypi/PyDictionary
MIT License
274 stars 65 forks source link

Fix for Install Error (metadata-generation-failed) #58

Open foxycoderr opened 2 years ago

foxycoderr commented 2 years ago

I have experienced the problem where the package just wouldn't install, either from PyPI or directly from GitHub. The only fix I found, as mentioned by @bunchesofdonald, to install futures, that are used in the package, prior to the installation of the dictionary, on a lower version (pip install 'futures<3.0.0'). Putting this here to make it easier to access. All credit for the idea goes to @bunchesofdonald.

AnatuGreen commented 2 years ago

pip install 'futures<3.0.0'

Thanks for sharing this. I previously gave up and used py-Dictionary instead but I did not like its performance. The error has stopped after following your guide. Thanks

RumeoLola commented 2 years ago

I have experienced the problem where the package just wouldn't install, either from PyPI or directly from GitHub. The only fix I found, as mentioned by @bunchesofdonald, to install futures, that are used in the package, prior to the installation of the dictionary, on a lower version (pip install 'futures<3.0.0'). Putting this here to make it easier to access. All credit for the idea goes to @bunchesofdonald.

I tried the command and I still got the same error message again. I decided to upgrade pip and I used pip to install the module along other modules and it worked perfectly fine.

Fasih1994 commented 1 year ago

pip install 'futures<3.0.0' worked for me but then I found out that in futures documentation it is mentioned that Python 3 users should not attempt to install it since it is present in Standard Libraries. I think this can be resolved if skip future installation for python 3 users.