Skip to content

python install.py 运行到最后的时候 报错 develop command is deprecated #500

@KaiyoungYu

Description

@KaiyoungYu

前面的安装过程没有问题, python install.py 运行到最后的时候,出现 setup.py 的报错.

pyenv 安装的 python 3.10 环境。MacOS 15.6.1 M3芯片。


Installing collected packages: VideoLingo
  Running setup.py develop for VideoLingo
    ERROR: Command errored out with exit status 1:
     command: /Users/maximus.mol/.pyenv/versions/3.10.0/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/Users/maximus.mol/Downloads/250915_videolingo/VideoLingo/setup.py'"'"'; __file__='"'"'/Users/maximus.mol/Downloads/250915_videolingo/VideoLingo/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
         cwd: /Users/maximus.mol/Downloads/250915_videolingo/VideoLingo/
    Complete output (92 lines):
    running develop
    /Users/maximus.mol/.pyenv/versions/3.10.0/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:90: DevelopDeprecationWarning: develop command is deprecated.
    !!

            ********************************************************************************
            Please avoid running ``setup.py`` and ``develop``.
            Instead, use standards-based tools like pip or uv.

            By 2025-Oct-31, you need to update your project and remove deprecated calls
            or your builds will no longer be supported.

            See https://github.com/pypa/setuptools/issues/917 for details.
            ********************************************************************************

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions