Error when pycharm imports from appium import webdriver: ModuleNotFoundError: No module named 'appium'

After the appium environment is set up, you can refer to appium in the system command line, but an error is introduced in pycharm: ModuleNotFoundError: No module named 'appium'. It is not easy to re-add the inspector in pycharm. After Baidu, I tried to download Appium-Python-Client in the inspector. The method is as follows:
insert image description here
insert image description here
But in the end, the download failed. . . .
In the end, I had no choice. After observing the inspector, I copied the python environment under the project, so I decided to manually pip it in the python environment of this project.
Method:
1. Open the command line, switch to the inspector path of this project, see Figure
2 above, pip install Appium-Python-Client is executed successfully.
3. Reference again in pyCharm, no error is reported.
well done!

Related Posts