gpt4 book ai didi

python - 错误 : too few arguments, 必须提供命令行包规范或 --file

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

当我运行 conda 命令创建 tensorflow 环境时,它显示以下错误信息:

(Anaconda3_411) C:\development\anaconda\Anaconda3_411>conda create -n tensorflow
Error: too few arguments, must supply command line package specs or --file

You can specify one or more default packages to install when creating
an environment. Doing so allows you to call conda create without
explicitly providing any package names.

To set the provided packages, call conda config like this:

conda config --add create_default_packages PACKAGE_NAME

Anaconda版本:Anaconda3-4.1.1-Windows-x86_64

Python 版本:3.5

最佳答案

我通过在 conda 命令中提供 python 版本来解决问题,

>conda create -n tensorflow python=3.5

关于python - 错误 : too few arguments, 必须提供命令行包规范或 --file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42792277/

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