Open JamesTheHacker opened 5 years ago
I stuck a print
in service.py
to see where it was trying to load from and it seems to be loading from the developers path?!
try:
cmd = [self.path]
print(cmd)
exit()
cmd.extend(self.command_line_args())
self.process = subprocess.Popen(cmd, env=self.env,
close_fds=platform.system() != 'Windows',
stdout=self.log_file,
stderr=self.log_file,
stdin=PIPE)
Returns
['/home/nikolai/projects/private/Drivers/chromedriver']
I literally swapped out cmd
for cmd = ['C:/ChromeDriver/chromedriver.exe']
and it works. But I don't like doing this. Is there any other way?
I'm having exact the same problem. I tried to move the chromedriver.exe to the GoogleScraper folder, and change the chromedriver_path in scrape_config.py, even tried raw mode by putting 'r' besides the path and still nothing happens. Is there any other way to fix this issue?
I'm attempting to run GoogleScraper with the following command:
But it's returning the following error:
I have chromedriver added to my path. If I run
where chromedriver
it returns:It definitely exists in my PATH.
I've also created a
scrape_config.py
file in the same directory as I'm running GoogleScraper with the following:I'm not quite sure what's going on.