`$ D:\Anaconda\Scripts\conda-script.py install nsst` environment variables: conda info could not be constructed. KeyError('pkgs_dirs') An unexpected error has occurred. Conda has prepared the above report. If submitted, this report will be used by core maintainers to improve future releases of conda. Would you like conda to send this report to the core maintainers? [y/N]: y Upload successful. Thank you for helping to improve conda. Opt-in to always sending reports (and not see this message again) by running $ conda config --set report_errors true
时间: 2024-04-28 20:21:23 浏览: 36
这是一个安装命令,使用了 Anaconda 中的 conda 包管理器来安装名为 nsst 的软件包。不过,命令执行时出现了一个错误,指出 conda info 无法构建,可能是由于缺少 pkgs_dirs 环境变量导致的。Conda 报告了这个错误并询问是否将报告发送给核心维护人员以改进未来版本的 conda。如果你想要发送报告并帮助改进 conda,就输入 y,否则输入 N。如果想要一直发送报告并不再看到这个消息,可以运行 conda config --set report_errors true。
相关问题
usage: conda-script.py [-h] [--no-plugins] [-V] COMMAND ... conda-script.py: error: unrecognized arguments: conda update
引用: 使用conda -v 查看版本号时出现错误 usage: conda-script.py [-h] [-V] command … conda-script.py: error: the following arguments are required: command 。 引用:usage: conda-script.py [-h] [–no-plugins] [-V] COMMAND … conda-script.py: error: argument COMMAND: invalid choice: ‘activate’ (choose from ‘clean’, ‘compare’, ‘config’, ‘create’, ‘info’, ‘init’, ‘install’, ‘list’, ‘notices’, ‘package’, ‘remove’, ‘uninstall’, ‘rename’, ‘run’, ‘search’, ‘update’, ‘upgrade’, ‘build’, ‘convert’, ‘debug’, ‘develop’, ‘doctor’, ‘index’, ‘inspect’, ‘metapackage’, ‘render’, ‘skeleton’, ‘token’, ‘repo’, ‘server’, ‘pack’, ‘env’, ‘verify’, ‘content-trust’) 。 引用: 参考 https://www.likecs.com/show-203470692.html anaconda 配置环境变量 。
这个错误是由于你在使用conda命令时提供了无效的参数或命令。根据引用和引用的信息,你需要提供一个有效的命令来执行conda操作,例如clean、install、update等。请确保你提供的命令是conda所支持的。另外,你可以参考引用中的链接来了解如何正确配置Anaconda的环境变量。
usage: conda-script.py [-h] [-V] command ... conda-script.py: error: unrecognized arguments: --upgrade
这个报错"error: unrecognized arguments: --upgrade"是由于使用了不被识别的参数"--upgrade"导致的。解决这个问题的方法有几种:
1. 检查你的命令行中是否正确输入了参数。确保--upgrade参数是有效的,并且没有拼写错误。
2. 检查你使用的conda版本是否过旧。有时候,一些较新的参数可能只在更新版本的conda中才能识别。你可以尝试更新conda,然后再次运行命令。
3. 如果你使用的是conda的旧版本,你可以考虑使用Mambaforge或Miniforge代替Anaconda或Miniconda。它们是官方推荐的替代品,可能会解决一些兼容性问题。