TensorFlow anaconda命令备忘

[查看tensorflow安装的版本]

anaconda search -t conda tensorflow

[选择版本安装]

conda install -c anaconda tensorflow

 

[conda install --help]

usage: conda install [-h] [--revision REVISION] [-y] [--dry-run] [-f]
[--file FILE] [--no-deps] [-m] [--use-index-cache]
[--use-local] [--offline] [--no-pin] [-c CHANNEL]
[--override-channels] [-n ENVIRONMENT | -p PATH] [-q]
[--copy] [--alt-hint] [--update-dependencies]
[--no-update-dependencies] [--channel-priority]
[--no-channel-priority] [--show-channel-urls]
[--no-show-channel-urls] [--json] [--debug] [--verbose]
[package_spec [package_spec ...]]

optional arguments:
-h, --help Show this help message and exit.
--revision REVISION Revert to the specified REVISION.
-y, --yes Do not ask for confirmation.
--dry-run Only display what would have been done.
-f, --force Force install (even when package already installed),
implies --no-deps.
--file FILE Read package versions from the given file. Repeated
file specifications can be passed (e.g. --file=file1
--file=file2).
--no-deps Do not install dependencies.
-m, --mkdir Create the environment directory if necessary.
--use-index-cache Use cache of channel index files.
--use-local Use locally built packages.
--offline Offline mode, don't connect to the Internet.
--no-pin Ignore pinned file.
-c CHANNEL, --channel CHANNEL
Additional channel to search for packages. These are
URLs searched in the order they are given (including
file:// for local directories). Then, the defaults or
channels from .condarc are searched (unless
--override-channels is given). You can use 'defaults'
to get the default packages for conda, and 'system' to
get the system packages, which also takes .condarc
into account. You can also use any name and the
.condarc channel_alias value will be prepended. The
default channel_alias is http://conda.anaconda.org/.
--override-channels Do not search default or .condarc channels. Requires
--channel.
-n ENVIRONMENT, --name ENVIRONMENT
Name of environment (in
/usr/local/anaconda3/envs:/root/.conda/envs).
-p PATH, --prefix PATH
Full path to environment prefix (default:
/usr/local/anaconda3).
-q, --quiet Do not display progress bar.
--copy Install all packages using copies instead of hard- or
soft-linking.
--alt-hint Use an alternate algorithm to generate an
unsatisfiability hint.
--update-dependencies, --update-deps
Update dependencies (default: True).
--no-update-dependencies, --no-update-deps
Don't update dependencies (default: False).
--channel-priority, --channel-pri, --chan-pri
Channel priority takes precedence over package version
(default: True). Note: This feature is in beta and may
change in a future release.
--no-channel-priority, --no-channel-pri, --no-chan-pri
Package version takes precedence over channel priority
(default: False). Note: This feature is in beta and
may change in a future release.
--show-channel-urls Show channel urls (default: None).
--no-show-channel-urls
Don't show channel urls.
--json Report all output as json. Suitable for using conda
programmatically.
--debug Show debug output.
--verbose, -v Use once for info, twice for debug, three times for
trace.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值