asweigart / PyGetWindow

A simple, cross-platform module for obtaining GUI information on applications' windows.
BSD 3-Clause "New" or "Revised" License
362 stars 69 forks source link

Unable to install in Mac 10.14.2 Python: 2.7.10 #12

Open riz-hossain opened 5 years ago

riz-hossain commented 5 years ago

Hello I am using a clean Mac OS which by default comes with python 2.7.10. Below is the error message that I am getting:

Collecting PyGetWindow Using cached https://files.pythonhosted.org/packages/8c/95/d401a85c5e9a40fac545708961b38beb5a71c9a8fc607de30d31f03de17e/PyGetWindow-0.0.5.tar.gz ERROR: Complete output from command python setup.py egg_info: ERROR: Traceback (most recent call last): File "", line 1, in File "/private/tmp/pip-install-oWj25I/PyGetWindow/setup.py", line 10, in with open('README.md', 'r', encoding='utf-8') as fh: TypeError: 'encoding' is an invalid keyword argument for this function

ERROR: Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-install-oWj25I/PyGetWindow/

lukaszgo1 commented 5 years ago

@riz-hossain This one should be fixed with recent version on PyPI. Can you confirm?

riz-hossain commented 5 years ago

@lukaszgo1 , thank you for the reply. I had installed it by easy_install from the same package directly. I will uninstall it and try with pip installer later today and get back.