user_name@server_name:~/bbq_spatial$ pip show conda
Name: conda
Version: 4.3.16
Summary: OS-agnostic, system-level binary package manager.
Home-page: https://github.com/conda/conda
Author: Continuum Analytics, Inc.
Author-email: [email protected]
License: BSD
Location: /home/user_name/.local/lib/python3.9/site-packages
Requires: pycosat, requests, ruamel.yaml
Required-by:
user_name@server_name:~/bbq_spatial$ conda update conda
conda: command not found
user_name@server_name:~/bbq_spatial$
为什么我无法运行 conda 命令,即使它已安装在计算机中?
如何运行 conda 命令?
编辑:
将命令 -v pip 和命令 -v conda 的输出添加到问题中。 ——纳西尔·莱利
user_name@server_name:~$ command -v pip
/usr/local/bin/pip
user_name@server_name:~$ command -v conda
user_name@server_name:~$ command -v conda
user_name@server_name:~$
答案1
您安装的是conda
Python 模块,您可以像任何其他模块一样将其导入到 Python shell 中。
如果您想要conda
将二进制文件用作应用程序,那么您需要安装 Anaconda 或 Miniconda,您可以从以下站点获取它们:
https://www.anaconda.com/products/distribution#Downloads
https://docs.conda.io/en/latest/miniconda.html
如果您需要帮助,这些网站和 Google 上都有安装其中任一网站的说明。