[{"content":"anaconda与conda conda是一个包管理器，anaconda是一个完整发行版（包含数百个包以及conda），推荐使用Miniforge，只有少量基础依赖，按需安装。\nMiniforge Github项目地址\n关于Miniforge Miniforge在安装的时候可以勾选\u0026quot;注册miniforge为系统python\u0026quot;，会在注册表中HKCU/Software/Python中创建python-core，可以被VSCode识别到。\n只有Miniforge Prompt中才能使用conda命令，或者VSCode中安装了Python Environments，会自动在VSCode终端执行脚本，进入base环境。\nAnaconda 安装anaconda Anaconda官网下载地址\n清华源镜像下载地址\n卸载anaconda 安装anaconda-clean\nconda install anaconda-clean 运行anaconda-clean\nanaconda-clean --yes 卸载anaconda3\n运行安装目录下的Uninstall-Anaconda3.exe 查看anaconda中python的安装位置 在base环境中输入Python进入Python Shell环境\n1 2 import sys sys.path 配置conda源 系统中的配置文件位置 ~/.condarc\n修改配置文件和代码配置没有什么区别\n可以用conda config \u0026ndash;show-source查看配置文件路径\n配置.condarc文件如下所示\n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 channels: - defaults show_channel_urls: true default_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2 custom_channels: conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud deepmodeling: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/ 配置源（命令行环境） 1 2 3 4 5 6 conda config --show #查看conda设置 conda config --show channels #查看conda源配置 conda config --set show_channel_urls yes #设置搜索时显示通道地址 conda config --add --remove-key channels #切换回默认源 conda config --add channels \u0026#39;https://xxx\u0026#39; #添加源 conda config -remove channels \u0026#39;https://xxx\u0026#39; #删除源 从2020年起，在超过200人的组织中使用Anaconda官方仓库需要向Anaconda购买商业许可证。\n国内大部分镜像仓库已不再支持Anaconda，目前清华镜像源仍然支持。\nconda虚拟环境管理 1 2 3 4 5 conda update -n base conda #更新conda，实际上conda就是base环境中的一个包 conda env list #显示所有的虚拟环境 conda create -n xxx [python=3.9 [scipy=xx [...]]] #新建虚拟环境 conda remove -n xxx --all #删除虚拟环境 conda remove -n xxx script #删除虚拟环境中的某个包 ","date":"0001-01-01T00:00:00Z","permalink":"/note/conda_usage/","title":"conda使用笔记"},{"content":"仓库分支信息查看 1 2 3 4 5 6 7 git branch #查看本地所有分支 git branch -a #查看所有的分支 git branch -r #查看远程所有分支 git status #查看当前状态 git ls-files #查看本地仓库的文件 git config --list #查看配置文件内容 git log #查看历史提交记录 仓库及分支初始化 1 2 3 4 5 git remote add origin #\u0026lt;仓库ssh地址\u0026gt; 添加远程仓库地址 git branch \u0026lt;branchname\u0026gt; #创建分支命令 git branch -d \u0026lt;branchname\u0026gt; #删除分支命令 git checkout \u0026lt;branchname\u0026gt; #切换分支 git checkout -b \u0026lt;branchname\u0026gt; #创建并切换到该分支 提交、推送、拉取 1 2 3 4 5 6 git add . #提交所有修改到暂存区 git commit -m \u0026lt;commit message\u0026gt; #提交暂存区到本地仓库 git commit -am \u0026lt;commit message\u0026gt; #跳过git add提交缓存步骤，直接提交修改到本地仓库 git push origin \u0026lt;branchname\u0026gt; #推送本地分支到远程 git pull origin \u0026lt;branchname\u0026gt; #拉取远程分支到本地 git push -u origin \u0026lt;branchname\u0026gt; #记录远程仓库，下次推送可直接使用git push 强制推送、强制同步 1 2 3 git push origin \u0026lt;branchname\u0026gt; -f\t#强制推送至远程仓库 git fetch --all\t#获取所有远程仓库的所有分支更新 git reset --hard origin/\u0026lt;branchname\u0026gt;\t#将当前本地分支指向origin/\u0026lt;branchname\u0026gt; .gitignore不再追踪某个文件 1 git rm --cached \u0026lt;file\u0026gt;\t#删除暂存区的文件，不再追踪 清除git仓库的所有提交记录 1 2 3 4 5 6 git checkout --orphan latest_branch git add -A git commit -am \u0026#34;commit message\u0026#34; git branch -D master git branch -m master git push -f origin master ","date":"0001-01-01T00:00:00Z","permalink":"/note/git_usage/","title":"git使用笔记"},{"content":"Numpy库 ","date":"0001-01-01T00:00:00Z","permalink":"/note/scientific_computation/","title":"Python科学计算"},{"content":"Vivado 完全版的客户端分为Enterprise版本和Standard版本，Standard版本免费。两者所包含的功能都是一样的，唯一的不同就是对芯片种类的支持，Enterprise版全支持，Standard版支持种类受限。\n版本区别详情\n官网下载地址：安装时选择Standard版本\nTI Code Composer Studio(CCS) 软件完全免费，20版本里面没有dsp的支持。\n软件免费声明\n官网下载地址\nAltium Designer(AD) 可以申请教育版许可证，免费使用一年，需要校园邮箱，认证之后会收到激活邮件，激活Altium账户就可以了。\n教育许可证申请地址\n官网下载地址\n下载之后使用认证的账户登录，按照操作安装即可。\nMatlab 用学校邮箱注册一个matlab账号，即可获得免费许可\n官网地址\nMinGW-w64 预构建版本推荐MSYS2\n官网地址\n按照安装提示安装\n","date":"0001-01-01T00:00:00Z","permalink":"/note/software_free/","title":"软件免费获取"}]