Selenium Python (Import Error) Python-Selenium-Eclipse
<p><strong>After Running the below Command:</strong></p>

<pre><code>from selenium import webdriver
</code></pre>

<p><strong>I get the Following error:</strong></p>

<pre><code>Traceback (most recent call last):
  File "C:\Users\tempjatop\workspace\TestPython\Sample.py", line 1, in &lt;module&gt;
    from selenium import webdriver
  File "C:\Python\lib\site-packages\selenium-3.0.0b2-py3.5.egg\selenium\webdriver\__init__.py", line 25, in &lt;module&gt;
    from .safari.webdriver import WebDriver as Safari  # noqa
  File "C:\Python\lib\site-packages\selenium-3.0.0b2-py3.5.egg\selenium\webdriver\safari\webdriver.py", line 49
    executable_path = os.environ.get("SELENIUM_SERVER_JAR")
                                                          ^
TabError: inconsistent use of tabs and spaces in indentation
</code></pre>

<hr>

<p>I don't know why it is redirecting it to safari webdriver.
Please suggest any fixes or am i doing anything wrong?</p>

<p>As the error says:</p>

<blockquote>
  <p>TabError: inconsistent use of tabs and spaces in indentation</p>
</blockquote>

<p>Check for indentations in your code and correct the inconsistent ones.</p>

python eclipse selenium testing automation