Closed KevinJones20 closed 5 years ago
I am not sure what's the problem. I have tested on my side it works. Make sure you are running the specified python version.
Also, I think, it may be the environment you are running it from. What are you using, terminal and if so, which?
Ive tried to run it through git, python, cmd, whatever I use I get the same error, I haven't messed with the code whatsoever so I am not sure why it says it isn't defined.
I'm also using Windows 10
Also it doesn't let me run it by typing 'python3' , I have to say python
I am pretty sure you are not running the script with python3, type python --version
and tell me which version are you running?
Yeah you are right, it is still running 2.7 even though I've tried running it from python 3
Did you solve the problem?
Well I decided to uninstall 2.7 completely from my computer, its now running 3.7 through gitbash, but now I am getting this error
$ python3 twitch_farmer.py
Traceback (most recent call last):
File "twitch_farmer.py", line 6, in
But when I type the pip install selenium pandas line, it returns nothing, and I've already confirmed my PATHs and pip install went well, so I'm not sure what the issue is now
Sorry, it's my fault, I should have mentioned that you should use pip3
for python 3.
I will update the README.
Ahhh gotcha, yeah that worked, it's installed, now I can run it and it does work but I get
Traceback (most recent call last):
File "twitch_farmer.py", line 254, in
I entered a real username and password for a twitch account, do you know what is causing this error?
It seems it has to do with the .csv file. It can't find the column username.
Make sure your file looks like this: https://github.com/MD3XTER/Twitch-Farmer#usage
Also, it may be the case if you opened the file with excel, it could have changed the column separator from ,
to ;
. Make sure it's coma separator.
Can you open the .csv file in a text editor and make sure everything is right?
Okay, I've gotten it working to the point where it's repeatedly opening chrome but not loading the page correctly/continually closing
It means that the proxies are not good
It keeps saying time expired changing proxy, even after I changed them to working ones
Are you sure the proxy is working? I have tested it with some proxies and it worked. What type of proxy are you using?
I will also have a deeper look tomorrow.
I'm just using proxies from an online proxy list so it might not be the best source
Yes, you have to buy unused proxies so the bot will work properly.
What channel should I follow? : Traceback (most recent call last): File "twitch_farmer.py", line 254, in
main()
File "twitch_farmer.py", line 116, in main
follow_channel_name = input("What channel should I follow? : ")
File "", line 1, in
NameError: name 'theirchannelname' is not defined