Giter Club home page Giter Club logo

Comments (4)

ad-m avatar ad-m commented on August 24, 2024 3

I am able to reproduce:

docker run python:2.7 bash -c 'pip install python_anticaptcha; python -m "import python_anticaptcha";'

I will release patch release today.

from python-anticaptcha.

ad-m avatar ad-m commented on August 24, 2024 1

It's related to this.

from python-anticaptcha.

riccardolunardi avatar riccardolunardi commented on August 24, 2024

I have the same problem, but on Python3 and on scripts, not on shell.
I tried your example of the new hCaptcha.

Traceback (most recent call last):
  File "ex_hcapt.py", line 5, in <module>
    from python_anticaptcha import AnticaptchaClient, HCaptchaTaskProxyless
ModuleNotFoundError: No module named 'python_anticaptcha'

Is it related to this or it's an error by my side? Because with the 0.4.2 version it seems to be imported

from python-anticaptcha.

ad-m avatar ad-m commented on August 24, 2024

Fixed in v0.5.1.

$ docker run python:2.7 bash -c 'pip install python_anticaptcha==0.5.1; python -c "import python_anticaptcha";' 
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting python_anticaptcha==0.5.1
  Downloading python_anticaptcha-0.5.1-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: six in /usr/local/lib/python2.7/site-packages (from python_anticaptcha==0.5.1) (1.14.0)
Collecting requests
  Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Downloading urllib3-1.25.8-py2.py3-none-any.whl (125 kB)
Collecting idna<3,>=2.5
  Downloading idna-2.9-py2.py3-none-any.whl (58 kB)
Collecting chardet<4,>=3.0.2
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Installing collected packages: certifi, urllib3, idna, chardet, requests, python-anticaptcha
Successfully installed certifi-2019.11.28 chardet-3.0.4 idna-2.9 python-anticaptcha-0.5.1 requests-2.23.0 urllib3-1.25.8

from python-anticaptcha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.