useragents / Proxyless-TikTok-Username-Checker

Loops through a list of usernames to check if they are available or unavailable
492 stars 87 forks source link

Error "AttributeError: module 'ctypes' has no attribute 'windll'" #16

Closed Kev2FreshYo closed 2 years ago

Kev2FreshYo commented 2 years ago

entire error: sh: 1: cls: not found Traceback (most recent call last): File "/home/kev/Proxyless-TikTok-Username-Checker/main.py", line 94, in obj.main() File "/home/kev/Proxyless-TikTok-Username-Checker/main.py", line 73, in main ctypes.windll.kernel32.SetConsoleTitleW("TikTok Username Checker | Developed by @useragents on Github") AttributeError: module 'ctypes' has no attribute 'windll'

iiisak commented 2 years ago

This script has no Linux support so you will have to comment those lines out

useragents commented 2 years ago

ctypes.windll is specifically only for Windows and you're using it on a non-Windows environment. Alternatively, you can remove any lines using ctypes as it is not needed for this script to function.