Hello All, I'm facing error below
"Importing library 'AppiumLibrary' failed: ModuleNotFoundError: No module named 'appium.webdriver.common.touch_action' "
I am using:
python version: 3.12.0
appium 2.5.1
robotframework: 7.0.0
robotframework-appiumlibrary: 2.0.0
Please see error details below;
(.venv) MBPkhxngPaytine:mobile-automatate suphakorn$ robot -d Output --loglevel TRACE Tests/Login.robot
[ ERROR ] Error in file '/Users/suphakorn/PycharmProjects/mobile-automatate/Resources/Import.robot' on line 2: Importing library 'AppiumLibrary' failed: ModuleNotFoundError: No module named 'appium.webdriver.common.touch_action'
Traceback (most recent call last):
File "/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/lib/python3.12/site-packages/AppiumLibrary/init.py", line 4, in
from AppiumLibrary.keywords import *
File "/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/lib/python3.12/site-packages/AppiumLibrary/keywords/init.py", line 9, in
from ._touch import _TouchKeywords
File "/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/lib/python3.12/site-packages/AppiumLibrary/keywords/_touch.py", line 3, in
from appium.webdriver.common.touch_action import TouchAction
PYTHONPATH:
/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/bin
/Library/Frameworks/Python.framework/Versions/3.12/lib/python312.zip
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload
/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/lib/python3.12/site-packages
Hello All, I'm facing error below "Importing library 'AppiumLibrary' failed: ModuleNotFoundError: No module named 'appium.webdriver.common.touch_action' "
I am using:
python version: 3.12.0
appium 2.5.1
robotframework: 7.0.0
robotframework-appiumlibrary: 2.0.0
Please see error details below;
(.venv) MBPkhxngPaytine:mobile-automatate suphakorn$ robot -d Output --loglevel TRACE Tests/Login.robot [ ERROR ] Error in file '/Users/suphakorn/PycharmProjects/mobile-automatate/Resources/Import.robot' on line 2: Importing library 'AppiumLibrary' failed: ModuleNotFoundError: No module named 'appium.webdriver.common.touch_action' Traceback (most recent call last): File "/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/lib/python3.12/site-packages/AppiumLibrary/init.py", line 4, in
from AppiumLibrary.keywords import *
File "/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/lib/python3.12/site-packages/AppiumLibrary/keywords/init.py", line 9, in
from ._touch import _TouchKeywords
File "/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/lib/python3.12/site-packages/AppiumLibrary/keywords/_touch.py", line 3, in
from appium.webdriver.common.touch_action import TouchAction
PYTHONPATH:
/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/bin
/Library/Frameworks/Python.framework/Versions/3.12/lib/python312.zip
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload
/Users/suphakorn/PycharmProjects/mobile-automatate/.venv/lib/python3.12/site-packages
Please help me. Thanks you in advance.