Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/352.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何使用PyInstaller将cli应用程序转换为exe_Python_Python 3.x_Pyinstaller - Fatal编程技术网

Python 如何使用PyInstaller将cli应用程序转换为exe

Python 如何使用PyInstaller将cli应用程序转换为exe,python,python-3.x,pyinstaller,Python,Python 3.x,Pyinstaller,我为这个问题道歉,但我对Python还不熟悉。我使用创建了一个小型cli应用程序 这是本项目的结构: Setup.py: from setuptools import setup, find_packages setup( name='ru', version='0.0.1', packages=find_packages(), install_requires=['Click'], include_package_data=True, entry_points=''' [c

我为这个问题道歉,但我对Python还不熟悉。我使用创建了一个小型cli应用程序

这是本项目的结构:

Setup.py:

   from setuptools import setup, find_packages

 setup(
name='ru',
version='0.0.1',
packages=find_packages(),
install_requires=['Click'],
include_package_data=True,
entry_points='''
    [console_scripts]
    ru=ru.cli:cli
''',
)
我可以使用以下命令将应用程序更改为exe文件吗


谢谢你

到目前为止你都试了些什么?您是否查阅过Pyinstaller文档?其中有一节是关于“入门”的