![]() ![]() For eachĭependency, ldd displays the location of the matching object and the ThisĬauses the dynamic linker to inspect the program's dynamicĭependencies, and find (according to the rules described in ld.so(8))Īnd load the objects that satisfy those dependencies. ![]() With the LD_TRACE_LOADED_OBJECTS environment variable set to 1. In the usual case, ldd invokes the standard dynamic linker (see ld.so(8)) Ldd prints the shared objects (shared libraries) required by each program or shared object specified on the command line. 14 - the dependencies are different as well, but see below to get an idea of what could be missing: $ /usr/local/bin/chromedriver -versionĬhromeDriver. As of today my chromedriver version after a few years from the original answer is. Then at eache time I used commands like apt-cache search and apt-cache madison to figure out the exact version of the deb package needed by chromedriver 2.33 (in my case, but I guess something similar would work for any version of chromedriver).Īs suggested in the comments, using the ldd command to print shared object dependencies may be another option. To figure out which dependencies are required I tried iteratively to run it from the command line like this: /opt/chromedriver/2.33/chromedriver -version over and over again. I was working on a similar setup using a docker container instead of a server/VM without X / GUI. This solved the issue for me: apt-get install -y libglib2.0-0=2.50.3-2 \ It seems chromedriver needs some extra libraries. Hope this info is relevant to solve this error, otherwise will abort it. I had installed ssh and remote controlling jupyter notebook from my mac to server desktop, and those errors comes from it. Thus I am just using terminal only, but it well works so far. I had install ubuntu desktop 17.10 on my desktop but failed to get GUI boot. I can't get what the original intention of that error code and where to start to fix it. WebDriverException: Message: Service chromedriver unexpectedly exited. home/zachary/.local/lib/python3.6/site-packages/selenium/webdriver/common/service.py in assert_process_still_running(self)ġ10 'Service %s unexpectedly exited. > 98 self.assert_process_still_running() home/zachary/.local/lib/python3.6/site-packages/selenium/webdriver/common/service.py in start(self) home/zachary/.local/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py in _init_(self, executable_path, port, options, service_args, desired_capabilities, service_log_path, chrome_options) WebDriverException Traceback (most recent call last) However, when I run following code: driver = webdriver.Chrome() Thus I had installed/download required dependencies- such as chromedriver, chromium-browser etc on my Ubuntu17.10 server I'd like to construct my crawler using selenium on my server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |