Nuitka没有使用nuitka编译exe --recurse-all hello.py [错误]

时间:2017-10-30 01:30:43

标签: python selenium compilation exe nuitka

我正在尝试通过nuitka创建一个简单的exe,这样我就可以在我的笔记本电脑上运行它而不需要安装Python。

我在Windows 10上并使用Anaconda Python 3.我输入了:

nuitka --recurse-all hello.py

但是,我一直收到以下错误消息:

C:\Users\Bain3>Nuitka --exe 123.py
Nuitka:WARNING:Not recursing to 'selenium' (C:\Users\Bain3\Anaconda3\Lib\site-packages\selenium), please specify --recurse-none (do not warn), --recurse-all (recurse to all), --recurse-not-to=selenium (ignore it), --recurse-to=selenium (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'selenium.webdriver.support.ui' (C:\Users\Bain3\Anaconda3\Lib\site-packages\selenium\webdriver\support\ui.py), please specify --recurse-none (do not warn), --recurse-all (recurse to all), --recurse-not-to=selenium.webdriver.support.ui (ignore it), --recurse-to=selenium.webdriver.support.ui (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'selenium.webdriver.support' (C:\Users\Bain3\Anaconda3\Lib\site-packages\selenium\webdriver\support), please specify --recurse-none (do not warn), --recurse-all (recurse to all), --recurse-not-to=selenium.webdriver.support (ignore it), --recurse-to=selenium.webdriver.support (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'selenium.webdriver.common.by' (C:\Users\Bain3\Anaconda3\Lib\site-packages\selenium\webdriver\common\by.py), please specify --recurse-none (do not warn), --recurse-all (recurse to all), --recurse-not-to=selenium.webdriver.common.by (ignore it), --recurse-to=selenium.webdriver.common.by (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'requests' (C:\Users\Bain3\Anaconda3\Lib\site-packages\requests), please specify --recurse-none (do not warn), --recurse-all (recurse to all), --recurse-not-to=requests (ignore it), --recurse-to=requests (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'selenium.common.exceptions' (C:\Users\Bain3\Anaconda3\Lib\site-packages\selenium\common\exceptions.py), please specify --recurse-none (do not warn), --recurse-all (recurse to all), --recurse-not-to=selenium.common.exceptions (ignore it), --recurse-to=selenium.common.exceptions (recurse to it) to change.
Nuitka:WARNING:Not recursing to 'retrying' (C:\Users\Bain3\Anaconda3\Lib\site-packages\retrying.py), please specify --recurse-none (do not warn), --recurse-all (recurse to all), --recurse-not-to=retrying (ignore it), --recurse-to=retrying (recurse to it) to change.
Error, cannot find "gendef.exe" which is required though.

我重新安装了Python并使用了2.7但是这似乎没有帮助......

**在虚拟机中进行进一步测试.... *

更新。他们说他们支持3.6,但他们实际上并不是。它说,他们说他们支持它,但在他们的网站上还没有支持3.6。有点误导......

0 个答案:

没有答案
相关问题