NoahCardoza / CaptchaHarvester

Solve captchas yourself without having to pay for services like 2captcha for use in automated projects.

Home Page:https://pypi.org/project/captcha-harvester/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error thrown when trying to install the library.

andyBarbaro opened this issue · comments

After running the pip install captcha-harvester command recommended by the README.md file, I am presented with this error:

Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/gb/5xlqkbdn70d5gsptxj6m2p4h0000gp/T/pip-install-PDB4vf/captcha-harvester/setup.py", line 3, in
import harvester
File "harvester/init.py", line 1, in
from harvester import browser, fetch, server
File "harvester/browser.py", line 31
def read_osx_defults(plist: str, binary: str) -> str:
^
SyntaxError: invalid syntax

Any help figuring this issue out would be greatly appreciated. Thanks!

Note: Just to clarify the error statement more, the ^ in the last line of the error statement is pointing to the : after plist. I wasn't sure if this was made clear by the original comment cause of the formatting change after I posted my question.

Which version of Python are you using?

Python 2.7.16

That's your problem. This project doesn't support versions of Python below 3.7, as displayed in the README.md:

PyPI Python Versions

Ok thanks!