简体   繁体   中英

Any way to compile Python 3.4 program to exe? Except py2exe, pyinstaller or cx-freeze

I have coded selenium Python script and now I want to compile it to exe file so it can run on computer without Python installed

I've tried to install cx-freeze and pyinstaller but failed to do so and wasn't able to find the patch for the errors I am getting while installing these modules

I have installed py2exe but its not able to convert selenium Python to exe

Whenever I execute I keep getting error msg

I want to use chromedriver, here's the error I am getting

 FileNotFoundError: [Errno 2] No such file or directory: 'selenium\\\\webdriver\\\\re mote\\\\getAttribute.js' 

您必须手动将selenium文件夹复制到项目的根目录中(这是消息所显示的内容),因为它包含无法编译的内容(例如getAttribute.js)

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