Closed mrcsdl closed 4 years ago
Hey! I haven't tested this program on any system other than Windows, but it should be portable (as it's written on Python). You can try and test it out. (Here's a link how to set up selenium on a Raspberry Pi).
can you maybe help me with that? That would be soo awsome
python main.py File "main.py", line 13 driver: HiddenChromeWebDriver ^ SyntaxError: invalid syntax
Can you help me with that? This pops up when i try to start ne main.py
That means you have an old version of Python, which doesn't support type hints (which were added in Python 3.5).
I Updated to python 3.8.3 now i get this with
python3.8 main.py
Traceback (most recent call last):
File "main.py", line 6, in
"python main.py" as command gets this
File "main.py", line 13 driver: HiddenChromeWebDriver ^ SyntaxError: invalid syntax
That's because you have to install selenium. To do this, you gotta write pip install selenium
in the command line.
Do I need to install it in the folder of python or the main.py script or just normal without anything in the command line? Cause I installed it already and it keeps saying this.
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://www.twitch.tv")
when i run this Basic script its openting Chromium, but when i try to start your script its not working ill get the error
error in line 13 of your script at driver : <- HiddenChromeWebDriver the : are the problem atm the error is: "SyntaxError: invalid syntax"
Again, that's because of your old Python version. Actually, you can just delete this line altogether (if your Python version doesn't support that), it's just a hint for the IDE.
Hey i would like to test your Program, how do i use it? Is it possible to run it on armf? Like an Raspi?