I want to make the completed program an executor exe.

Asked 2 years ago, Updated 2 years ago, 149 views

I completed the program using Selenium's chrome driver, and I want to make it available or available to other users as an launcher.

After googling, it was successful to compile into a module called pyinstaller and turn it into an launcher. However, the message 'chromedriver' executions to be in PATH.

I understand that it means that the chrome driver is not in the path, but after a lot of time searching, I found out that the location of the chrome driver should be written as an absolute path, and I revised it again.

However, the problem is that it works well on my computer, but when I use this program on another computer, I get the same message 'chromedriver' executions to be in PATH.' I know it's a problem because each computer has a different path, but I don't know how to solve it.

I want to make sure that the program is written normally on other computers. What are some ways? I would appreciate it if you could give me a simple search keyword. ㅠ<

python compile exe

2022-09-22 19:12

1 Answers

It's not an absolute path, but you can put the Chrome web driver in the place where the program runs and use it as a relative path (if you don't set the path, it'll automatically be caught like this), and distribute the Chrome web driver together?


2022-09-22 19:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.