Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when giving pip install #2

Open
LipeTadeu opened this issue Mar 15, 2022 · 7 comments
Open

Error when giving pip install #2

LipeTadeu opened this issue Mar 15, 2022 · 7 comments
Assignees

Comments

@LipeTadeu
Copy link

Hi!
When doing pip install solverecaptchas,
gives error.
ERROR: Could not find a version that satisfies the requirement solverecaptchas (from versions: none)
ERROR: No matching distribution found for solverecaptchas

Is this lib pip?

Tks.

@embium
Copy link
Owner

embium commented Mar 16, 2022

Hello,

Yes this library is available under PyPI. Which version of Python are you using to install solverecaptchas under?

@embium embium self-assigned this Mar 16, 2022
@LipeTadeu
Copy link
Author

Hello
my version is: Python 3.8.10

erro

@embium
Copy link
Owner

embium commented Mar 16, 2022

I was able to reproduce this on another machine - I'm not really sure why this is happening. A quick workaround is to install it using easy_install python -m easy_install https://files.pythonhosted.org/packages/4b/40/9099b456dde3a98044190f608179ec419e9217f984935db2ae6ba57a831c/solverecaptchas-0.1.4-py3.10.egg. I'll hope to have a fix here soon.

@LipeTadeu
Copy link
Author

does it work on windows?

Nice, I hope you can fix it.

@LipeTadeu
Copy link
Author

now this error.

C:\Users\lipet>python -m easy_install https://files.pythonhosted.org/packages/4b/40/9099b456dde3a98044190f608179ec419e9217f984935db2ae6ba57a831c/solverecaptchas-0.1.4-py3.10.egg
C:\Users\lipet\AppData\Local\Programs\Python\Python38\python.exe: No module named easy_install

@embium
Copy link
Owner

embium commented Mar 16, 2022

does it work on windows?

Nice, I hope you can fix it.

Yes, this works for Windows. I've released another version that supports downloading through pip, in-case pip install solverecaptchas doesn't work, try pip install https://files.pythonhosted.org/packages/f3/c5/33dbd5f793759dec4508a0cbc43955ea7e46c3b8072f26486efe9f5576eb/solverecaptchas-0.1.6.tar.gz.

@LipeTadeu
Copy link
Author

Hello Now generates these errors.
I believe there is content in the package to solve using audio.
I had understood that he solves via image.

d ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
ERROR (VoskAPI:Model():model.cc:122) Folder 'model' does not contain model files. Make sure you specified the model path properly in Model constructor. If you are not sure about relative path, use absolute path specification.
Traceback (most recent call last):
File "teste.py", line 10, in
from solverecaptchas.solver import Solver
File "C:\Users\lipet\AppData\Local\Programs\Python\Python38\lib\site-packages\solverecaptchas\solver.py", line 19, in
class Solver(object):
File "C:\Users\lipet\AppData\Local\Programs\Python\Python38\lib\site-packages\solverecaptchas\solver.py", line 27, in Solver
model=Model('model'),
File "C:\Users\lipet\AppData\Local\Programs\Python\Python38\lib\site-packages\vosk_init_.py", line 29, in init
raise Exception("Failed to create a model")
Exception: Failed to create a model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants