gpt4 book ai didi

python - sdist 错误 : option --manifest-only not recognized

转载 作者:太空狗 更新时间:2023-10-30 00:00:30 25 4
gpt4 key购买 nike

每次我使用 sdist 通过命令创建 MANIFEST 文件时:

'python setup.py sdist --manifest-only'

终端总是输出这个错误信息。

error: option --manifest-only not recognized

我不知道为什么,正在寻求帮助。

最佳答案

我猜你用

from setuptools import setup

在你的 setup.py 中? Setuptools 似乎不支持这个选项。我更喜欢坚持标准的 Python 方式并使用:

from distutils.core import setup

关于python - sdist 错误 : option --manifest-only not recognized,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5651806/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com