简体   繁体   中英

Errno 2 No such file or directory error while trying to execute Selenium Python program

I'm learning Python and Selenium and I am facing a problem with my code while trying to execute Selenium Python program. The error is:

Errno 2 No such file or directory

Here is the snapshot of the error I'm facing:

我的问题在这里

I'm trying to get selenium to boot chrome

Can someone help me?

You just need to add the location of the Python Interpreter within the Path variable as one of the Environment Variables . So python can be accessed for anywhere within your system.

Effectively, you need to append the following value in the Path variable:

C:\Users\rumi9\AppData\Local\Programs\Python\Python311

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM