title: Python-No such file or directory getAttribute.js
body: <p>I had a Python selenium program working a week or so ago. Now selenium fails on the import:</p>
  
  <pre><code>from selenium import webdriver
  </code></pre>
  
  <p>The IDLE ouput:</p>
  
  <pre><code>Python 3.6.3 (v3.6.3:2c5fed8, Oct  3 2017, 17:26:49) [MSC v.1900 32 bit (Intel)] on win32
  Type "copyright", "credits" or "license()" for more information.
  &gt;&gt;&gt; 
   RESTART: C:\Users\Mike\AppData\Local\Programs\Python\Python36-32\testpack.py 
  Traceback (most recent call last):
    File "C:\Users\Mike\AppData\Local\Programs\Python\Python36-32\testpack.py", line 1, in &lt;module&gt;
      from selenium import webdriver
    File "C:\Users\Mike\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\__init__.py", line 18, in &lt;module&gt;
      from .firefox.webdriver import WebDriver as Firefox  # noqa
    File "C:\Users\Mike\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 35, in &lt;module&gt;
      from selenium.webdriver.remote.webdriver import WebDriver as RemoteWebDriver
    File "C:\Users\Mike\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 26, in &lt;module&gt;
      from .webelement import WebElement
    File "C:\Users\Mike\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\remote\webelement.py", line 43, in &lt;module&gt;
      getAttribute_js = pkgutil.get_data(_pkg, 'getAttribute.js').decode('utf8')
    File "C:\Users\Mike\AppData\Local\Programs\Python\Python36-32\lib\pkgutil.py", line 634, in get_data
      return loader.get_data(resource_name)
    File "&lt;frozen importlib._bootstrap_external&gt;", line 832, in get_data
  FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Mike\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\selenium\\webdriver\\remote\\getAttribute.js'
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>When I try to reinstall the package with pip, I am told that the requirements are satisfied.</p>
  
  <p>chromedriver.exe is in c:\Windows\system32.</p>
  
  <p>Any ideas greatly appreciated.</p>