gpt4 book ai didi

conda 骨架失败

转载 作者:行者123 更新时间:2023-12-03 16:52:24 25 4
gpt4 key购买 nike

我在 Pypi 上发布了一个示例 python 包使用轮子。我想使用 this 在我的 Conda channel 上发布包教程。

但是,当我运行时:conda skeleton pypi rutgerhofstepythonpackage我收到以下错误:

Warning, the following versions were found for rutgerhofstepythonpackage
0.0.1
0.0.2
0.1.1
Using 0.1.1
Use --version to specify a different version.

Leaving build/test directories:
Work: /opt/anaconda3/conda-bld/skeleton_1523284768777/work
Test: /opt/anaconda3/conda-bld/skeleton_1523284768777/test_tmp
Leaving build/test environments:
Test: source activate /opt/anaconda3/conda-bld/skeleton_1523284768777/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho
Build: source activate /opt/anaconda3/conda-bld/skeleton_1523284768777/_build_env


Error: No source urls found for rutgerhofstepythonpackage

最佳答案

Conda Skeleton 需要源代码分发。将轮子上传到 pypi 是不够的。

除了构建分发python setup.py bdist_wheel --universal创建源分发python setup.py sdist
在上传到 PyPi 之前。我在尝试使用此 tutorial 手动创建 meta.yaml 文件时发现了这一点

关于 conda 骨架失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49735655/

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