CentOS下的miniconda3安装

软件下载与安装

下载

[pythoning@dev ~]$ wget https://repo.anaconda.com/miniconda/Miniconda3-py38_4.12.0-Linux-x86_64.sh -O /tmp/Miniconda3-py38_4.12.0-Linux-x86_64.sh --2022-08-29 10:31:06--  https://repo.anaconda.com/miniconda/Miniconda3-py38_4.12.0-Linux-x86_64.sh
Resolving ... 10.37.235.10
Connecting to 10.37.235.10|:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 76120962 (73M) [application/x-sh]
Saving to: ‘Miniconda3-py38_4.12.0-Linux-x86_64.sh’

安装

执行

执行安装命令sudo sh /tmp/Miniconda3-py38_4.12.0-Linux-x86_64.sh

[pythoning@dev ~]$ sudo sh /tmp/Miniconda3-py38_4.12.0-Linux-x86_64.shWelcome to Miniconda3 py38_4.12.0In order to continue the installation process, please review the license
agreement.
读协议

按提示敲回车

Please, press ENTER to continue
>>>
======================================
End User License Agreement - Miniconda
======================================Copyright 2015-2022, Anaconda, Inc.All rights reserved under the 3-clause BSD License:This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc. ("Anaconda") and governs
your use of Miniconda.Subject to the terms of this Agreement, Anaconda hereby grants you a non-exclusive, non-transferable license to:* Install and use the Miniconda,* Modify and create derivative works of sample source code delivered in Miniconda subject to the Terms of Service for the Rep
ository (as defined hereinafter) available at https://www.anaconda.com/terms-of-service, and* Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modificationsubject to the requirements set forth below.Anaconda may, at its option, make available patches, workarounds or other updates to Miniconda. Unless the updates are providedwith their separate governing terms, they are deemed part of Miniconda licensed to you as provided in this Agreement. This Agr
eement does not entitle you to any support for Miniconda.Anaconda reserves all rights not expressly granted to you in this Agreement.Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following cond
itions are met:* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer
.* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclai
mer in the documentation and/or other materials provided with the distribution.* Neither the name of Anaconda nor the names of its contributors may be used to endorse or promote products derived from thissoftware without specific prior written permission.You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectual pro
perty rights, in and to Miniconda and, with respect to third-party products distributed with or through Miniconda, the applicab
le third-party licensors own all right, title and interest, including all intellectual property rights, in and to such products
. If you send or transmit any communications or materials to Anaconda suggesting or recommending changes to the software or doc
umentation, including without limitation, new features or functionality relating thereto, or any comments, questions, suggestio
ns or the like ("Feedback"), Anaconda is free to use such Feedback. You hereby assign to Anaconda all right, title, and interes
t in, and Anaconda is free to use, without any attribution or compensation to any party, any ideas, know-how, concepts, techniq
ues or other intellectual property rights contained in the Feedback, for any purpose whatsoever, although Anaconda is not requi
red to use any Feedback.DISCLAIMER
==========THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LI
MITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANAC
ONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED T
O, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.TO THE MAXIMUM EXTENT PERMITTED BY LAW, ANACONDA AND ITS AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, PUNITIVE O
R CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS OF USE, LOSS OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF PROCURING SUBSTITU
TE PRODUCTS, ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF MINICONDA, WHETHER SUCH LIABILITYARISES FROM ANY CLAIM BASED UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANYOTHER CAUSE OF ACTION OR THEORY OF LIABILITY. IN NO EVENT WILL THE TOTAL CUMULATIVE LIABILITY OF ANACONDA AND ITS AFFILIATES U
NDER OR ARISING OUT OF THIS AGREEMENT EXCEED US0.00.Miscellaneous
=============If you want to terminate this Agreement, you may do so by discontinuing use of Miniconda. Anaconda may, at any time, terminate
this Agreement and the license granted hereunder if you fail to comply with any term of this Agreement. Upon any termination ofthis Agreement, you agree to promptly discontinue use of the Miniconda and destroy all copies in your possession or control. U
pon any termination of this Agreement all provisions survive except for the licenses granted to you.This Agreement is governed by and construed in accordance with the internal laws of the State of Texas without giving effect toany choice or conflict of law provision or rule that would require or permit the application of the laws of any jurisdiction o
ther than those of the State of Texas. Any legal suit, action, or proceeding arising out of or related to this Agreement or thelicenses granted hereunder by you must be instituted exclusively in the federal courts of the United States or the courts of t
he State of Texas in each case located in Travis County, Texas, and you irrevocably submit to the jurisdiction of such courts i
n any such suit, action, or proceeding.Notice of Third Party Software Licenses
=======================================Miniconda provides access to a repository (the "Repository") which contains software packages or tools licensed on an open sour
ce basis from third parties and binary packages of these third party tools. These third party software packages or tools are pr
ovided on an "as is" basis and are subject to their respective license agreements as well as this Agreement and the Terms of Se
rvice for the Repository located at https://www.anaconda.com/terms-of-service; provided, however, no restriction contained in t
he Terms of Service shall be construed so as to limit Your ability to download the packages contained in Miniconda provided youcomply with the license for each such package. These licenses may be accessed from within the Miniconda software[1] or https:/
/www.anaconda.com/legal. Information regarding which license is applicable is available from within many of the third party sof
tware packages and tools and at https://repo.anaconda.com/pkgs/main/ and https://repo.anaconda.com/pkgs/r/. Anaconda reserves t
he right, in its sole discretion, to change which third party tools are included in the Repository accessible through Miniconda
.Intel Math Kernel Library
-------------------------Miniconda provides access to re-distributable, run-time, shared-library files from the Intel Math Kernel Library ("MKL binaries
").Copyright 2018 Intel Corporation. License available at https://software.intel.com/en-us/license/intel-simplified-software-licen
se (the "MKL License").You may use and redistribute the MKL binaries, without modification, provided the following conditions are met:* Redistributions must reproduce the above copyright notice and the following terms of use in the MKL binaries and in the doc
umentation and/or other materials provided with the distribution.* Neither the name of Intel nor the names of its suppliers may be used to endorse or promote products derived from the MKL bi
naries without specific prior written permission.* No reverse engineering, decompilation, or disassembly of the MKL binaries is permitted.You are specifically authorized to use and redistribute the MKL binaries with your installation of Miniconda subject to the ter
ms set forth in the MKL License. You are also authorized to redistribute the MKL binaries with Miniconda or in the Anaconda pac
kage that contains the MKL binaries. If needed, instructions for removing the MKL binaries after installation of Miniconda are
available at https://docs.anaconda.com.cuDNN Software
--------------Miniconda also provides access to cuDNN software binaries ("cuDNN binaries") from NVIDIA Corporation. You are specifically auth
orized to use the cuDNN binaries with your installation of Miniconda subject to your compliance with the license agreement loca
ted at https://docs.nvidia.com/deeplearning/sdk/cudnn-sla/index.html. You are also authorized to redistribute the cuDNN binarie
s with an Miniconda package that contains the cuDNN binaries. You can add or remove the cuDNN binaries utilizing the install an
d uninstall features in Miniconda.cuDNN binaries contain source code provided by NVIDIA Corporation.Arm Performance Libraries
-------------------------Arm Performance Libraries (Free Version): Anaconda provides access to software and related documentation from the Arm Performan
ce Libraries ("Arm PL") provided by Arm Limited. By installing or otherwise accessing the Arm PL, you acknowledge and agree tha
t use and distribution of the Arm PL is subject to your compliance with the Arm PL end user license agreement located at: https
://developer.arm.com/tools-and-software/server-and-hpc/downloads/arm-performance-libraries/eula.Export; Cryptography Notice
===========================You must comply with all domestic and international export laws and regulations that apply to the software, which include restr
ictions on destinations, end users, and end use. Miniconda includes cryptographic software. The country in which you currently
reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFOR
E using any encryption software, please check your country's laws, regulations and policies concerning the import, possession,
or use, and re-export of encryption software, to see if this is permitted. See the Wassenaar Arrangement http://www.wassenaar.o
rg/ for more information.Anaconda has self-classified this software as Export Commodity Control Number (ECCN) EAR99, which includes mass market informat
ion security software using or performing cryptographic functions with asymmetric algorithms. No license is required for exportof this software to non-embargoed countries.The Intel Math Kernel Library contained in Miniconda is classified by Intel as ECCN 5D992.c with no license required for exportto non-embargoed countries.The following packages listed on https://www.anaconda.com/cryptography are included in the Repository accessible through Minico
nda that relate to cryptography.Last updated March 21, 2022
同意协议

同意协议输入yes

Do you accept the license terms? [yes|no]
[no] >>>yesMiniconda3 will now be installed into this location:
/root/miniconda3- Press ENTER to confirm the location- Press CTRL-C to abort the installation- Or specify a different location below
选安装路径

默认会安装到/root/miniconda3目录,这里安装到/usr/local/miniconda3下面

[/root/miniconda3] >>> /usr/local/miniconda3
PREFIX=/usr/local/miniconda3
Unpacking payload ...
Collecting package metadata (current_repodata.json): done
Solving environment: done## Package Plan ##environment location: /usr/local/miniconda3added / updated specs:- _libgcc_mutex==0.1=main- _openmp_mutex==4.5=1_gnu- brotlipy==0.7.0=py38h27cfd23_1003- ca-certificates==2022.3.29=h06a4308_1- certifi==2021.10.8=py38h06a4308_2- cffi==1.15.0=py38hd667e15_1- charset-normalizer==2.0.4=pyhd3eb1b0_0- colorama==0.4.4=pyhd3eb1b0_0- conda-content-trust==0.1.1=pyhd3eb1b0_0- conda-package-handling==1.8.1=py38h7f8727e_0- conda==4.12.0=py38h06a4308_0- cryptography==36.0.0=py38h9ce1e76_0- idna==3.3=pyhd3eb1b0_0- ld_impl_linux-64==2.35.1=h7274673_9- libffi==3.3=he6710b0_2- libgcc-ng==9.3.0=h5101ec6_17- libgomp==9.3.0=h5101ec6_17- libstdcxx-ng==9.3.0=hd4cf53a_17- ncurses==6.3=h7f8727e_2- openssl==1.1.1n=h7f8727e_0- pip==21.2.4=py38h06a4308_0- pycosat==0.6.3=py38h7b6447c_1- pycparser==2.21=pyhd3eb1b0_0- pyopenssl==22.0.0=pyhd3eb1b0_0- pysocks==1.7.1=py38h06a4308_0- python==3.8.13=h12debd9_0- readline==8.1.2=h7f8727e_1- requests==2.27.1=pyhd3eb1b0_0- ruamel_yaml==0.15.100=py38h27cfd23_0- setuptools==61.2.0=py38h06a4308_0- six==1.16.0=pyhd3eb1b0_1- sqlite==3.38.2=hc218d9a_0- tk==8.6.11=h1ccaba5_0- tqdm==4.63.0=pyhd3eb1b0_0- urllib3==1.26.8=pyhd3eb1b0_0- wheel==0.37.1=pyhd3eb1b0_0- xz==5.2.5=h7b6447c_0- yaml==0.2.5=h7b6447c_0- zlib==1.2.12=h7f8727e_1The following NEW packages will be INSTALLED:_libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main_openmp_mutex      pkgs/main/linux-64::_openmp_mutex-4.5-1_gnubrotlipy           pkgs/main/linux-64::brotlipy-0.7.0-py38h27cfd23_1003ca-certificates    pkgs/main/linux-64::ca-certificates-2022.3.29-h06a4308_1certifi            pkgs/main/linux-64::certifi-2021.10.8-py38h06a4308_2cffi               pkgs/main/linux-64::cffi-1.15.0-py38hd667e15_1charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0colorama           pkgs/main/noarch::colorama-0.4.4-pyhd3eb1b0_0conda              pkgs/main/linux-64::conda-4.12.0-py38h06a4308_0conda-content-tru~ pkgs/main/noarch::conda-content-trust-0.1.1-pyhd3eb1b0_0conda-package-han~ pkgs/main/linux-64::conda-package-handling-1.8.1-py38h7f8727e_0cryptography       pkgs/main/linux-64::cryptography-36.0.0-py38h9ce1e76_0idna               pkgs/main/noarch::idna-3.3-pyhd3eb1b0_0ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.35.1-h7274673_9libffi             pkgs/main/linux-64::libffi-3.3-he6710b0_2libgcc-ng          pkgs/main/linux-64::libgcc-ng-9.3.0-h5101ec6_17libgomp            pkgs/main/linux-64::libgomp-9.3.0-h5101ec6_17libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-9.3.0-hd4cf53a_17ncurses            pkgs/main/linux-64::ncurses-6.3-h7f8727e_2openssl            pkgs/main/linux-64::openssl-1.1.1n-h7f8727e_0pip                pkgs/main/linux-64::pip-21.2.4-py38h06a4308_0pycosat            pkgs/main/linux-64::pycosat-0.6.3-py38h7b6447c_1pycparser          pkgs/main/noarch::pycparser-2.21-pyhd3eb1b0_0pyopenssl          pkgs/main/noarch::pyopenssl-22.0.0-pyhd3eb1b0_0pysocks            pkgs/main/linux-64::pysocks-1.7.1-py38h06a4308_0python             pkgs/main/linux-64::python-3.8.13-h12debd9_0readline           pkgs/main/linux-64::readline-8.1.2-h7f8727e_1requests           pkgs/main/noarch::requests-2.27.1-pyhd3eb1b0_0ruamel_yaml        pkgs/main/linux-64::ruamel_yaml-0.15.100-py38h27cfd23_0setuptools         pkgs/main/linux-64::setuptools-61.2.0-py38h06a4308_0six                pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1sqlite             pkgs/main/linux-64::sqlite-3.38.2-hc218d9a_0tk                 pkgs/main/linux-64::tk-8.6.11-h1ccaba5_0tqdm               pkgs/main/noarch::tqdm-4.63.0-pyhd3eb1b0_0urllib3            pkgs/main/noarch::urllib3-1.26.8-pyhd3eb1b0_0wheel              pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0xz                 pkgs/main/linux-64::xz-5.2.5-h7b6447c_0yaml               pkgs/main/linux-64::yaml-0.2.5-h7b6447c_0zlib               pkgs/main/linux-64::zlib-1.2.12-h7f8727e_1Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish the installer to initialize Miniconda3
by running conda init? [yes|no]
初始化选择

选择初始化输入 yes

[no] >>> yes
no change     /usr/local/miniconda3/condabin/conda
no change     /usr/local/miniconda3/bin/conda
no change     /usr/local/miniconda3/bin/conda-env
no change     /usr/local/miniconda3/bin/activate
no change     /usr/local/miniconda3/bin/deactivate
no change     /usr/local/miniconda3/etc/profile.d/conda.sh
no change     /usr/local/miniconda3/etc/fish/conf.d/conda.fish
no change     /usr/local/miniconda3/shell/condabin/Conda.psm1
no change     /usr/local/miniconda3/shell/condabin/conda-hook.ps1
no change     /usr/local/miniconda3/lib/python3.8/site-packages/xontrib/conda.xsh
no change     /usr/local/miniconda3/etc/profile.d/conda.csh
modified      /root/.bashrc==> For changes to take effect, close and re-open your current shell. <==If you'd prefer that conda's base environment not be activated on startup,set the auto_activate_base parameter to false:conda config --set auto_activate_base falseThank you for installing Miniconda3!
[pythoning@dev ~]$
设置环境变量

最后,我们执行以下命令,将下列环境变量追加到$HOME/.bashrc 文件中。

tee -a $HOME/.bashrc <<'EOF'
# miniconda3 envs
export PATH="/usr/local/miniconda3/bin:$PATH"
EOF
验证

刷新环境变量 然后通过本版信息确认是否安装成功

[pythoning@dev ~]$ source ~/.bashrc
[pythoning@dev ~]$ conda -V
conda 4.12.0
[pythoning@dev ~]$

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/pingmian/28319.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

2-6 基于matlab2018B的语音信号降噪和盲源分离GUI界面

基于matlab2018B的语音信号降噪和盲源分离GUI界面&#xff0c;包括维纳滤波&#xff0c;小波降噪、高通、低通、带通滤波&#xff0c;及提出的滤波方法。每个功能均展示降噪前后声音效果并外放出来。程序已调通&#xff0c;可直接运行。 2-6 语音信号降噪 盲源分离 GUI界面 - 小…

Java Mybatis plus 语法中 避免sql循环

1. 查出全部数据并进行数据筛选过滤 在一对多的情况时&#xff0c;我们想把多的对象集合set进一的里面&#xff0c;需要避免循环sql Overridepublic R<List<ExRecord>> getExRecordAll(ExRecord exRecord) {// 获取用户idInteger userId Math.toIntExact(Securit…

从位运算看海象运算符

文章目录 前言需求先找出需要多少位数使用限制赋值场景判断场景 转为one-hot编码一件小事情 前言 突然发现了Python3.8版本引入的海象运算符&#xff0c;就借着位运算的需求来看看是怎么个用法。 需求 需求是这样的&#xff0c;我有一张表&#xff0c;表中存在很多类东西&…

canvas学习

Canvas API 提供了一个通过 JavaScript 和 HTML 的 元素来绘制图形的方式。它可以用于动画、游戏画面、数据可视化、图片编辑以及实时视频处理等方面。 Canvas 的基本用法 <canvas> 元素 <canvas id"tutorial" width"150" height"150&quo…

3.1. 马氏链-马氏链的定义和示例

马氏链的定义和示例 马氏链的定义和示例1. 马氏链的定义2. 马氏链的示例2.1. 随机游走2.2. 分支过程2.3. Ehrenfest chain2.4. 遗传模型2.5. M/G/1 队列马氏链的定义和示例 1. 马氏链的定义 对于可数状态空间的马氏链, 马氏性指的是给定当前状态, 其他过去的状态与未来的预测…

DM存储ontap系统修改管理IP

存储已配置完成在使用&#xff0c;修改管理ip不会影响生产 旧管理IP新管理IP192.0.2.1/24192.0.10.1/24192.0.2.2/24192.0.10.2/24192.0.2.3/24192.0.10.3/24 旧网关&#xff1a;192.0.2.254 新网关&#xff1a;192.0.10.254 查看现有的管理IP信息 cluster1::> network …

[Python]Anaconda相关命令

环境操作相关命令 查看所有环境 conda env list创建环境 conda create --name cahttts python3.10激活环境 conda activate cahttts安装依赖文件 pip install -r requirements.txt查看GPU型号 nvidia-smi -LGPU 0: NVIDIA A10 (UUID: GPU-9f1fc9cf-582a-25ac-849c-2f77343…

TS-语法介绍

1. 基本语法 变量声明 TypeScript 中的变量声明方式有 let、const 和 var&#xff0c;推荐使用 let 和 const。 let isDone: boolean false; const PI: number 3.14;函数 函数声明与 JavaScript 类似&#xff0c;但可以指定参数和返回值类型。 function add(x: number, …

ESD与EOS区别

最近小白在做项目时&#xff0c;被一个实习生问道了&#xff0c;关于EOS与ESD区别。说实话&#xff0c;以前专注于测试debug的我&#xff0c;在回答对方时&#xff0c;并没法做到太全面的解答。于是乎&#xff0c;借助周内的空闲时间&#xff0c;小白还是简单学习总结了一番。 …

洛谷 AT_arc168_a [ARC168A] <Inversion> 题解

逆序对 在一个没有重复数值的序列 a a a 之中&#xff0c;如果存在一组下标 i i i 和 j j j 使得 i < j i<j i<j&#xff0c;那么当 a i > a j a_i>a_j ai​>aj​ 时&#xff0c;就称 a i a_i ai​ 和 a j a_j aj​ 是序列 a a a 中的一组逆序对。 …

Harbor镜像中心搭建

文章目录 Harbor镜像中心搭建前置条件下载Harbor创建CA证书配置Harbor开始启动地址映射访问配置本地登录配置外部虚拟机访问 Harbor镜像中心搭建 Harbor是一个镜像中心&#xff0c;我们所熟知的DockerHub就是一个镜像中心&#xff0c;我们可以把我们打包的镜像放在镜像中心中供…

JavaFX应用

JavaFX案例&#xff1a;集成进度条与后台任务 在这个示例中&#xff0c;我们将向JavaFX应用中集成一个进度条&#xff0c;用来展示一个模拟的后台任务的完成进度。这将涉及JavaFX的并发特性&#xff0c;特别是Task类和如何在UI线程安全地更新UI组件。 假设我们想要实现一个简…

关于Java

关于Java Java语言关于并发JVM调优工具写在最后 Java语言 Java语言作为当下主流开发语言&#xff0c;其面向对象的开发模式以及一次编译多次运行&#xff0c;跨平台运行以及自动的垃圾回收机制可以说是给开发者节省了很大的时间用于逻辑功能的开发&#xff0c;那么在开发过程中…

【Linux】pycharmgit相关操作

目录 1. git安装配置2. 相关内容3. pycharm连接远程仓库3.1 配置3.2 clone远程仓库3.3 本地仓库上传远程 4. 分支管理4.1 更新代码4.2 新建分支4.3 分支合并4.4 代码比对 5. 版本管理6. 命令行操作6.1 配置git6.2 基础操作6.3 分支操作 1. git安装配置 下载链接&#xff1a;官…

07--Zabbix监控告警

前言&#xff1a;和普米一样运维必会的技能&#xff0c;这里总结一下&#xff0c;适用范围非常广泛&#xff0c;有图形化界面&#xff0c;能帮助运维极快确定问题所在&#xff0c;这里记录下概念和基础操作。 1、zabbix简介 Zabbix是一个基于 Web 界面的企业级开源解决方案&a…

【C++】C++入门的杂碎知识点

思维导图大纲&#xff1a; namespac命名空间 什么是namespace命名空间namespace命名空间有什么用 什么是命名空间 namespace命名空间是一种域&#xff0c;它可以将内部的成员隔绝起来。举个例子&#xff0c;我们都知道有全局变量和局部变量&#xff0c;全局变量存在于全局域…

路由组件和非路由组件区别:

1、总结 路由组件和非路由组件区别&#xff1a; 非路由组件放在components中&#xff0c;路由组件放在pages或views中非路由组件通过标签使用&#xff0c;路由组件通过路由使用在main.js注册玩路由&#xff0c;所有的路由和非路由组件身上都会拥有$router $route属性$router&a…

SQLAlchemy:filter()和filter_by()的微妙差异

哈喽&#xff0c;大家好&#xff0c;我是木头左&#xff01; 在Python编程中&#xff0c;SQLAlchemy是一个强大的ORM&#xff08;对象关系映射&#xff09;工具&#xff0c;它允许使用Python代码来操作数据库。然而&#xff0c;对于新手来说&#xff0c;SQLAlchemy中的一些函数…

Web前端开发PPT:深入探索与实战应用

Web前端开发PPT&#xff1a;深入探索与实战应用 在数字化时代&#xff0c;Web前端开发已成为构建丰富、交互性强的网页应用的关键环节。本次分享旨在通过PPT的形式&#xff0c;带领大家深入探索Web前端开发的精髓&#xff0c;并分享一些实战应用的经验。接下来&#xff0c;我们…

mybatis-plus使用拦截器实现sql完整打印

shigen坚持更新文章的博客写手&#xff0c;擅长Java、python、vue、shell等编程语言和各种应用程序、脚本的开发。记录成长&#xff0c;分享认知&#xff0c;留住感动。 个人IP&#xff1a;shigen 在使用mybatis-plus&#xff08;mybatis&#xff09;的时候&#xff0c;往往需要…