-
Notifications
You must be signed in to change notification settings - Fork 684
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
AttributeError: 'Client' object has no attribute 'signup' #1997
Comments
Did u import in? The error message you're seeing indicates that the
Solutions:
If you’re trying to automate signups for a specific platform and the library doesn’t support it, you may need to resort to web scraping (if permitted by the platform) or using an official API if available. However, be cautious with such actions as they can violate terms of service and lead to the banning of accounts or IP addresses. |
Hi @sujay1599 Thank you for your response. This is not my first time using this library. So I did all the imports and I expect the signup method to be part of the Client class. |
I was able to fix this issue by getting the latest version on github (it's not updated on PyPi). |
Closing after getting latest version on git (2.1.2) |
Classic. I have had that happen to me aswell. |
@sujay1599 were you able to finish the account creation ? I created a new issue : #1999 Could you take a look at the issue I'm having please ? I'd appreciate your time. |
Hmm I have not used this function yet. I may incorporate if I need. Let me see |
Thank you !!! |
I get this error while using the signup method :
self.cl = Client(request_timeout=30)
self.cl.challenge_code_handler = self.challenge_code_handler
self.cl.delay_range = [3, 7]
user = self.cl.signup(
username, password, email, phone_number, display_name,
year=random.randint(1970, 2004),
month=random.randint(1, 12),
day=random.randint(1, 28)
)
Error :
AttributeError: 'Client' object has no attribute 'signup'
The text was updated successfully, but these errors were encountered: