1
我在PyCharm故障運行我與硒WebDiver腳本中:硒進口的webdriver ModuleNotFoundError:無模塊名爲「硒」(PyCharm)
/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/bin/python3.6 /Users/ratmir/PycharmProjects/TestAutomationGF/Test/firsttest.py
Traceback (most recent call last):
File "/Users/ratmir/PycharmProjects/TestAutomationGF/Test/firsttest.py", line 1, in <module>
from selenium import webdriver
ModuleNotFoundError: No module named 'selenium'
我已檢查已安裝硒:
python -m pip install -U selenium
Requirement already up-to-date: selenium in /Library/Python/2.7/site-packages
我看到在PyCharm中我有另一個版本的Python ...你能幫我解決這個問題嗎?謝謝。