{"id":40436,"date":"2025-05-29T07:21:15","date_gmt":"2025-05-28T23:21:15","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/40436.html"},"modified":"2025-05-29T07:21:15","modified_gmt":"2025-05-28T23:21:15","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%95%b0%e6%8d%ae%e8%bf%81%e7%a7%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/40436.html","title":{"rendered":"\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb"},"content":{"rendered":"<p>\u5199\u5728\u524d\u9762&#xff1a;\u4e3a\u6ee1\u8db3\u4e1a\u52a1\u9700\u6c42&#xff0c;\u6211\u4eec\u91c7\u8d2d\u4e86\u4e00\u53f0\u65b0\u7684\u9ad8\u6027\u80fd\u670d\u52a1\u5668&#xff0c;\u73b0\u5728\u60f3\u628a\u65e7\u670d\u52a1\u5668\u4e2d\u7684\u7528\u6237\u6587\u4ef6\u4ee5\u53caconda\u73af\u5883\u7b49\u8fc1\u79fb\u5230\u65b0\u670d\u52a1\u5668\u4e2d\u53bb\u3002\u4e3a\u4e86\u4fdd\u8bc1\u8fc1\u79fb\u8fc7\u7a0b\u5c3d\u53ef\u80fd\u4e0d\u51fa\u9519&#xff0c;\u5e76\u4e14\u8fc1\u79fb\u540e\u65b0\u7684\u670d\u52a1\u5668\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528&#xff0c;\u4ee5\u4e0b\u65b9\u6848\u63d0\u4f9b\u4e00\u4e2a\u7a33\u5065\u3001\u53ef\u590d\u7528\u3001\u6700\u5c0f\u51fa\u9519\u6982\u7387\u7684\u8fc1\u79fb\u65b9\u6848&#xff0c;\u9002\u7528\u4e8e&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u2705 \u5c06\u7528\u6237\u7684\u6570\u636e\u6587\u4ef6\u548c\u73af\u5883\u914d\u7f6e&#xff08;zsh, conda\u7b49&#xff09;\u5206\u5f00\u8fc1\u79fb<\/p>\n<\/li>\n<li>\n<p>\u2705 \u4fdd\u7559 .zshrc\u3001.oh-my-zsh\/ \u914d\u7f6e<\/p>\n<\/li>\n<li>\n<p>\u2705 \u4fdd\u7559 ~\/.cache\/torch\/hub\/checkpoints\/ \u4e0b\u7684\u6a21\u578b\u6743\u91cd<\/p>\n<\/li>\n<li>\n<p>\u2705 \u660e\u786e\u63a7\u5236\u6bcf\u7c7b\u6570\u636e\u8fc1\u79fb\u7684\u4f4d\u7f6e<\/p>\n<\/li>\n<\/ul>\n<p>\u8fc1\u79fb\u7684\u5185\u5bb9\u53ef\u4ee5\u8fd9\u6837\u5206\u7c7b&#xff1a;<\/p>\n<table>\n<tr>\u7c7b\u522b\u8def\u5f84\u5185\u5bb9\u793a\u4f8b\u662f\u5426\u9700\u8981\u8fc1\u79fb\u5efa\u8bae\u65b9\u5f0f<\/tr>\n<tbody>\n<tr>\n<td>\u6570\u636e\u7c7b\u6587\u4ef6<\/td>\n<td>~\/projects\/, ~\/data\/<\/td>\n<td>\u4ee3\u7801\u3001\u5b9e\u9a8c\u7ed3\u679c\u3001\u6587\u6863<\/td>\n<td>\u2705<\/td>\n<td>\u72ec\u7acb\u6253\u5305\u6216 rsync<\/td>\n<\/tr>\n<tr>\n<td>Conda \u73af\u5883<\/td>\n<td>~\/miniconda3\/ or ~\/anaconda3\/<\/td>\n<td>\u6240\u6709\u73af\u5883<\/td>\n<td>\u2705&#xff08;\u201c\u5bfc\u51fa\u91cd\u5efa\u201d\u65b9\/conda-pack\u6253\u5305&#xff09;<\/td>\n<td>\u73af\u5883\u5bfc\u51fa &#043; \u91cd\u5efa<\/td>\n<\/tr>\n<tr>\n<td>\u73af\u5883\u914d\u7f6e\u6587\u4ef6<\/td>\n<td>~\/.zshrc, ~\/.bashrc, ~\/.condarc<\/td>\n<td>shell\u914d\u7f6e\u3001conda\u914d\u7f6e<\/td>\n<td>\u2705<\/td>\n<td>rsync \u8fc1\u79fb\u5373\u53ef<\/td>\n<\/tr>\n<tr>\n<td>\u6743\u91cd\u6587\u4ef6<\/td>\n<td>~\/.cache\/torch\/hub\/checkpoints\/<\/td>\n<td>\u6a21\u578b .pth \u6587\u4ef6<\/td>\n<td>\u2705<\/td>\n<td>rsync<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u4e00\u3001\u7528\u6237\u6587\u4ef6\u548c\u914d\u7f6e\u6587\u4ef6\u7684\u8fc1\u79fb<\/h4>\n<p>\u2705 1\u3001\u8fc1\u79fb\u7528\u6237\u9879\u76ee\u76ee\u5f55 1_project_documents\/<\/p>\n<p>\u628a\u4ee5\u4e0b\u6307\u4ee4\u7684username\u66ff\u6362\u4e3a\u771f\u5b9e\u7684\u7528\u6237\u540d\u79f0&#xff0c;newserver\u66ff\u6362\u4e3a\u65b0\u670d\u52a1\u5668\u7684\u771f\u5b9eIP\u5730\u5740&#xff1b;<\/p>\n<p>rsync -aP \/home\/username\/1_project_documents\/ username&#064;newserver:\/home\/username\/1_project_documents\/<\/p>\n<p>\u6ce8\u610f&#xff1a;<\/p>\n<p>&#xff08;1&#xff09;\/home\/username\/&#xff08;\u672b\u5c3e\u6709 \/&#xff09;&#xff1a;\u8868\u793a\u590d\u5236\u76ee\u5f55\u5185\u90e8\u5185\u5bb9&#xff0c;\u800c\u975e\u6574\u4e2a\u6587\u4ef6\u5939\u5c42\u7ea7&#xff1b;<\/p>\n<p>&#xff08;2&#xff09;\u6a21\u62df\u6267\u884c\u6d4b\u8bd5&#xff1a;\u5728\u4e0d\u771f\u6b63\u6267\u884c\u590d\u5236\u64cd\u4f5c\u7684\u60c5\u51b5\u4e0b&#xff0c;\u6a21\u62df\u5c06\u65e7\u670d\u52a1\u5668 \/home\/username\/ \u76ee\u5f55\u4e0b\u76841_project_documents\u6587\u4ef6\u4f20\u8f93\u5230\u65b0\u670d\u52a1\u5668 username&#064;newserver \u7684 \/home\/username\/ \u76ee\u5f55\u4e0b&#xff0c;\u5e76\u663e\u793a\u4f1a\u4f20\u8f93\u7684\u6587\u4ef6\u5217\u8868\u3002<\/p>\n<p>rsync -aP &#8211;dry-run \/home\/username\/.zshrc* username&#064;newserver:\/home\/username\/<\/p>\n<table>\n<tr>\u7ec4\u4ef6\u542b\u4e49<\/tr>\n<tbody>\n<tr>\n<td>rsync<\/td>\n<td>\u7528\u4e8e\u8fdc\u7a0b\u540c\u6b65\u6587\u4ef6\u548c\u76ee\u5f55\u7684\u5de5\u5177<\/td>\n<\/tr>\n<tr>\n<td>-a<\/td>\n<td>\u5f52\u6863\u6a21\u5f0f&#xff0c;\u4fdd\u7559\u6240\u6709\u6743\u9650\u3001\u8f6f\u94fe\u63a5\u3001\u65f6\u95f4\u6233\u3001\u7528\u6237\u7ec4\u7b49<\/td>\n<\/tr>\n<tr>\n<td>-P<\/td>\n<td>\u663e\u793a\u8fdb\u5ea6 &#043; \u652f\u6301<span style=\"background-color:#dad5e9\">\u65ad\u70b9\u7eed\u4f20<\/span>&#xff08;\u7b49\u540c\u4e8e &#8211;progress &#8211;partial&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>&#8211;dry-run<\/td>\n<td>\u6a21\u62df\u6267\u884c&#xff0c;\u4e0d\u5b9e\u9645\u590d\u5236\u6587\u4ef6&#xff0c;\u53ea\u663e\u793a\u4f1a\u590d\u5236\u54ea\u4e9b\u6587\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u2705 2\u3001\u8fc1\u79fb .cache\/torch\/ \u6a21\u578b\u7f13\u5b58<\/p>\n<p>rsync -aP \/home\/username\/.cache\/torch\/ username&#064;newserver:\/home\/username\/.cache\/torch\/ <\/p>\n<p>\u2705 3\u3001\u8fc1\u79fb .zshrc, .zshrc.*, .zsh_history<\/p>\n<p>rsync -aP \/home\/username\/.zshrc* username&#064;newserver:\/home\/username\/<br \/>\nrsync -aP \/home\/username\/.zsh_history username&#064;newserver:\/home\/username\/ <\/p>\n<p>\u2705 4\u3001\u00a0\u8fc1\u79fb .oh-my-zsh\/ \u63d2\u4ef6\u4e3b\u9898\u76ee\u5f55<\/p>\n<p>rsync -aP \/home\/zhanghejian\/.oh-my-zsh\/ user&#064;newserver:\/home\/zhanghejian\/.oh-my-zsh\/<\/p>\n<p>\u00a0\u6ce8\u610f&#xff1a;\u4ece\u65e7\u670d\u52a1\u5668 rsync \u8fc1\u79fb\u8fc7\u6765\u7684\u6587\u4ef6&#xff0c;\u6240\u5c5e\u7528\u6237\/\u7528\u6237\u7ec4\u548c\u4f60\u65b0\u670d\u52a1\u5668\u672c\u5730\u81ea\u5df1\u521b\u5efa\u7684\u6587\u4ef6\u4e0d\u4e00\u81f4&#xff0c;\u6267\u884c\u4ee5\u4e0b\u6307\u4ee4&#xff0c;<\/p>\n<p>sudo chown -R username:username \/home\/username<\/p>\n<ul>\n<li>\n<p>-R: \u9012\u5f52\u4fee\u6539\u6574\u4e2a home \u76ee\u5f55\u4e0b\u6240\u6709\u6587\u4ef6\u5939\u548c\u6587\u4ef6&#xff1b;<\/p>\n<\/li>\n<li>\n<p>username:username: \u5c06 user \u548c group \u90fd\u8bbe\u7f6e\u4e3a\u5f53\u524d\u7528\u6237&#xff1b;<\/p>\n<\/li>\n<\/ul>\n<h4>\u4e8c\u3001conda\u73af\u5883\u7684\u8fc1\u79fb<\/h4>\n<h5>\u2705 1\u3001\u9996\u5148&#xff0c;\u5728\u65b0\u7684\u670d\u52a1\u5668\u4e2d\u5b89\u88c5\u4e0e\u65e7\u670d\u52a1\u5668\u76f8\u540c\u7248\u672c\u7684miniconda\u5305<\/h5>\n<p>bash Miniconda3-latest-Linux-x86_64.sh<\/p>\n<h5>\u2705 2\u3001\u914d\u7f6econda\u56fd\u5185\u955c\u50cf&#xff08;\u4e2d\u79d1\u5927&#xff09;<\/h5>\n<p>channels:<br \/>\n  &#8211; https:\/\/mirrors.ustc.edu.cn\/anaconda\/cloud\/pytorch\/<br \/>\n  &#8211; https:\/\/mirrors.ustc.edu.cn\/anaconda\/cloud\/menpo\/<br \/>\n  &#8211; https:\/\/mirrors.ustc.edu.cn\/anaconda\/cloud\/bioconda\/<br \/>\n  &#8211; https:\/\/mirrors.ustc.edu.cn\/anaconda\/cloud\/msys2\/<br \/>\n  &#8211; https:\/\/mirrors.ustc.edu.cn\/anaconda\/cloud\/conda-forge\/<br \/>\n  &#8211; https:\/\/mirrors.ustc.edu.cn\/anaconda\/pkgs\/free\/<br \/>\n  &#8211; https:\/\/mirrors.ustc.edu.cn\/anaconda\/pkgs\/main\/<br \/>\n  &#8211; https:\/\/repo.anaconda.com\/pkgs\/main<br \/>\n  &#8211; https:\/\/repo.anaconda.com\/pkgs\/r<br \/>\nshow_channel_urls: true <\/p>\n<h5>\u2705 3\u3001\u65e7\u670d\u52a1\u5668\u7684conda\u73af\u5883\u8fdb\u884c\u6253\u5305<\/h5>\n<p>&#xff08;1&#xff09;\u5728\u65e7\u670d\u52a1\u5668\u4e2d\u7684base\u73af\u5883\u4e2d\u5b89\u88c5conda-pack\u5305&#xff1b;<\/p>\n<p>conda activate base<br \/>\nconda install -c conda-forge conda-pack <\/p>\n<p>&#xff08;2&#xff09;\u5728 base \u73af\u5883\u4e0b\u6253\u5305\u76ee\u6807\u73af\u5883&#xff0c;\u8fd9\u91cc\u4ee5catapro\u4e3a\u4f8b&#xff1b;<\/p>\n<p># -n catapro \u8868\u793a\u6253\u5305\u540d\u4e3a catapro \u7684\u73af\u5883, -o \u53c2\u6570\u6307\u5b9a\u6253\u5305\u8def\u5f84\u548c\u540d\u79f0<br \/>\nconda-pack -n catapro -o catapro-packed.tar.gz <\/p>\n<p>&#xff08;3&#xff09;\u5c06\u6253\u5305\u6587\u4ef6\u4f20\u5230\u65b0\u670d\u52a1\u5668\u4e0a&#xff1b;<\/p>\n<p>scp catapro-packed.tar.gz username&#064;newserver:\/home\/username\/conda_envs_packed <\/p>\n<p>&#xff08;4&#xff09;\u5728\u65b0\u670d\u52a1\u5668\u4e0a\u89e3\u538b\u5e76\u4fee\u590d\u73af\u5883&#xff1b;<\/p>\n<p># \u521b\u5efa\u5728miniconda\u7684envs\u76ee\u5f55\u4e0b\u521b\u5efa\u73af\u5883\u6587\u4ef6\u5939<br \/>\nmkdir -p ~\/miniconda\/envs\/catapro<\/p>\n<p># \u89e3\u538b&#xff08;\u5047\u8bbe\u6253\u5305\u524d\u73af\u5883\u540d\u4e3a myenv&#xff09;<br \/>\ntar -xzf catapro-packed.tar.gz -C ~\/miniconda\/envs\/catapro<\/p>\n<p># \u8fdb\u5165\u65b0\u73af\u5883\u76ee\u5f55&#xff08;\u6839\u636e\u6253\u5305\u65f6\u7684\u540d\u5b57&#xff09;<br \/>\ncd ~\/miniconda\/envs\/catapro<\/p>\n<p># \u4fee\u590d\u8def\u5f84<br \/>\n.\/bin\/conda-unpack <\/p>\n<p>\u6ce8\u610f&#xff1a;<\/p>\n<p>1&#xff09;conda-unpack\u7684\u4f5c\u7528\u662f&#xff1a;\u4fee\u590dConda\u73af\u5883\u4e2d\u786c\u7f16\u7801\u7684\u539f\u59cb\u8def\u5f84&#xff0c;\u89e3\u51b3\u201c\u8def\u5f84\u5931\u6548\u201d\u95ee\u9898&#xff1b;<\/p>\n<p>2&#xff09;\u5f53\u4f60\u4f7f\u7528 conda-pack \u6253\u5305\u4e00\u4e2a\u73af\u5883\u65f6&#xff0c;\u5b83\u4f1a\u8bb0\u5f55\u539f\u670d\u52a1\u5668\u4e0a\u73af\u5883\u8def\u5f84&#xff08;\u6bd4\u5982 \/home\/username\/miniconda3\/envs\/catapro&#xff09;&#xff0c;\u89e3\u538b\u5230\u65b0\u670d\u52a1\u5668\u65f6\u8def\u5f84\u53d8\u4e86&#xff0c;\u5f88\u591a\u5305&#xff08;\u7279\u522b\u662f .pth\u3001.so \u6587\u4ef6&#xff09;\u91cc\u7684\u8def\u5f84\u53ef\u80fd\u65e0\u6cd5\u6b63\u786e\u5f15\u7528&#xff1b;<\/p>\n<p>3&#xff09;\u6267\u884c<span style=\"background-color:#9c8ec1\"> .\/bin\/conda-unpack <\/span>\u8be5\u6307\u4ee4\u4e4b\u540e&#xff0c;\u5b83\u4f1a&#xff1a;\u66ff\u6362\u6389\u65e7\u8def\u5f84\u3001\u91cd\u5efa\u8f6f\u94fe\u63a5\u3001\u6e05\u9664\u7f13\u5b58\u8def\u5f84\u4fe1\u606f\u3001\u4fee\u590d bin\/python \u7b49\u5f15\u7528\u95ee\u9898&#xff1b;<\/p>\n<p>\u26a0\ufe0f \u5982\u679c\u4f60\u4e0d\u8fd0\u884c\u8fd9\u6b65&#xff0c;\u73af\u5883\u6fc0\u6d3b\u53ef\u80fd\u4f1a\u5931\u8d25\u6216\u884c\u4e3a\u5f02\u5e38&#xff01;<\/p>\n<p>\u5b8c\u6210\u4ee5\u4e0a&#xff0c;\u57fa\u672c\u4e0a\u65b0\u7684\u670d\u52a1\u5668\u5c31\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u4e86&#xff0c;\u4f7f\u7528\u8d77\u6765\u8ddf\u4ee5\u524d\u4e00\u6837\u4e1d\u6ed1\u6d41\u7545&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e34\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u672c\u6587\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7a33\u5065\u7684\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848\uff0c\u5c06\u7528\u6237\u6587\u4ef6\u3001Conda\u73af\u5883\u548c\u914d\u7f6e\u6587\u4ef6\u5206\u7c7b\u5904\u7406\u3002\u5173\u952e\u6b65\u9aa4\u5305\u62ec\uff1a1\uff09\u4f7f\u7528rsync\u540c\u6b65\u7528\u6237\u9879\u76ee\u6587\u4ef6(.zshrc\/.oh-my-zsh\u7b49)\u548c\u6a21\u578b\u7f13\u5b58\uff1b2\uff09\u901a\u8fc7conda-pack\u6253\u5305\u65e7\u670d\u52a1\u5668\u73af\u5883\uff0c\u5728\u65b0\u670d\u52a1\u5668\u89e3\u538b\u540e\u6267\u884cconda-unpack\u4fee\u590d\u8def\u5f84\uff1b3\uff09\u5b89\u88c5\u76f8\u540c\u7248\u672cMiniconda\u5e76\u914d\u7f6e\u56fd\u5185\u955c\u50cf\u3002\u65b9\u6848\u5f3a\u8c03\u6d4b\u8bd5\u9a8c\u8bc1\uff08&#8211;dry-run\uff09\u548c\u6743\u9650\u4fee\u6b63\uff08chown\uff09\uff0c\u786e\u4fdd\u8fc1\u79fb\u540e\u73af\u5883\u5b8c\u6574\u53ef\u7528\u3002\u7279\u522b\u63d0\u9192conda-unpack\u6b65\u9aa4\u5bf9\u89e3\u51b3\u8def\u5f84\u5f15\u7528\u95ee\u9898\u7684\u5fc5\u8981\u6027\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,3566,50,43,44],"topic":[],"class_list":{"0":"post-40436","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-server","7":"tag-linux","9":"tag-50","10":"tag-43","11":"tag-44"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/40436.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e34\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u672c\u6587\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7a33\u5065\u7684\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848\uff0c\u5c06\u7528\u6237\u6587\u4ef6\u3001Conda\u73af\u5883\u548c\u914d\u7f6e\u6587\u4ef6\u5206\u7c7b\u5904\u7406\u3002\u5173\u952e\u6b65\u9aa4\u5305\u62ec\uff1a1\uff09\u4f7f\u7528rsync\u540c\u6b65\u7528\u6237\u9879\u76ee\u6587\u4ef6(.zshrc\/.oh-my-zsh\u7b49)\u548c\u6a21\u578b\u7f13\u5b58\uff1b2\uff09\u901a\u8fc7conda-pack\u6253\u5305\u65e7\u670d\u52a1\u5668\u73af\u5883\uff0c\u5728\u65b0\u670d\u52a1\u5668\u89e3\u538b\u540e\u6267\u884cconda-unpack\u4fee\u590d\u8def\u5f84\uff1b3\uff09\u5b89\u88c5\u76f8\u540c\u7248\u672cMiniconda\u5e76\u914d\u7f6e\u56fd\u5185\u955c\u50cf\u3002\u65b9\u6848\u5f3a\u8c03\u6d4b\u8bd5\u9a8c\u8bc1\uff08--dry-run\uff09\u548c\u6743\u9650\u4fee\u6b63\uff08chown\uff09\uff0c\u786e\u4fdd\u8fc1\u79fb\u540e\u73af\u5883\u5b8c\u6574\u53ef\u7528\u3002\u7279\u522b\u63d0\u9192conda-unpack\u6b65\u9aa4\u5bf9\u89e3\u51b3\u8def\u5f84\u5f15\u7528\u95ee\u9898\u7684\u5fc5\u8981\u6027\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/40436.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-28T23:21:15+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40436.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/40436.html\",\"name\":\"\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-28T23:21:15+00:00\",\"dateModified\":\"2025-05-28T23:21:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/40436.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/40436.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40436.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/40436.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.1k\u6b21\uff0c\u70b9\u8d5e34\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u672c\u6587\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7a33\u5065\u7684\u670d\u52a1\u5668\u8fc1\u79fb\u65b9\u6848\uff0c\u5c06\u7528\u6237\u6587\u4ef6\u3001Conda\u73af\u5883\u548c\u914d\u7f6e\u6587\u4ef6\u5206\u7c7b\u5904\u7406\u3002\u5173\u952e\u6b65\u9aa4\u5305\u62ec\uff1a1\uff09\u4f7f\u7528rsync\u540c\u6b65\u7528\u6237\u9879\u76ee\u6587\u4ef6(.zshrc\/.oh-my-zsh\u7b49)\u548c\u6a21\u578b\u7f13\u5b58\uff1b2\uff09\u901a\u8fc7conda-pack\u6253\u5305\u65e7\u670d\u52a1\u5668\u73af\u5883\uff0c\u5728\u65b0\u670d\u52a1\u5668\u89e3\u538b\u540e\u6267\u884cconda-unpack\u4fee\u590d\u8def\u5f84\uff1b3\uff09\u5b89\u88c5\u76f8\u540c\u7248\u672cMiniconda\u5e76\u914d\u7f6e\u56fd\u5185\u955c\u50cf\u3002\u65b9\u6848\u5f3a\u8c03\u6d4b\u8bd5\u9a8c\u8bc1\uff08--dry-run\uff09\u548c\u6743\u9650\u4fee\u6b63\uff08chown\uff09\uff0c\u786e\u4fdd\u8fc1\u79fb\u540e\u73af\u5883\u5b8c\u6574\u53ef\u7528\u3002\u7279\u522b\u63d0\u9192conda-unpack\u6b65\u9aa4\u5bf9\u89e3\u51b3\u8def\u5f84\u5f15\u7528\u95ee\u9898\u7684\u5fc5\u8981\u6027\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/40436.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-28T23:21:15+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/40436.html","url":"https:\/\/www.wsisp.com\/helps\/40436.html","name":"\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-28T23:21:15+00:00","dateModified":"2025-05-28T23:21:15+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/40436.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/40436.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/40436.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u6570\u636e\u8fc1\u79fb"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=40436"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40436\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=40436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=40436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=40436"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=40436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}