{"id":18479,"date":"2025-04-19T00:53:06","date_gmt":"2025-04-18T16:53:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/18479.html"},"modified":"2025-04-19T00:53:06","modified_gmt":"2025-04-18T16:53:06","slug":"%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae1-mobaxterm%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%adanaconda%e3%80%81pytorch%e7%9a%84%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/18479.html","title":{"rendered":"\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5"},"content":{"rendered":"<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#222226\">\u2460\u767b\u5f55<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"93\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165303-6802836fae1f9.png\" width=\"521\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">Login as<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">\u8f93\u5165\u5bc6\u7801\u65f6\u5bc6\u7801\u4e0d\u663e\u793a&#xff0c;\u6b63\u5e38\u8f93\u5165\u5373\u53ef<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#222226\">\u2461\u8fdb\u5165\u6307\u5b9a\u7684\u4e0b\u8f7d\u76ee\u5f55<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"614\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165303-6802836fc31fd.png\" width=\"1123\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#222226\">\u51fa\u73b0\u7c7b\u4f3c\u754c\u9762\u540e&#xff0c;\u952e\u76d8\u64cd\u4f5cCtrl&#043;c\u5373\u53ef\u8fdb\u884c\u8f93\u5165<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#222226\">cd\u00a0 \/ \u2026\u2026.(<\/span><span style=\"color:#222226\">\u8981\u4e0b\u8f7d\u5230\u7684\u76ee\u5f55\u540d\u79f0)\/ <\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#222226\">Anaconda<\/span><span style=\"color:#222226\">\u7684\u5b89\u88c5<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2460\u8f93\u5165wget <\/span>https:\/\/repo.anaconda.com\/archive\/Anaconda3-2022.10-Linux-x86_64.sh<\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u8fdb\u884c\u5b89\u88c5&#xff0c;\u6b64\u5904\u4ec5\u4e3a\u4e00\u6761\u53ef\u7528\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u62a5\u9519<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">wget https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/archive\/Anaconda3-2021.11-Linux-x86_64.sh &#8211;2024-03-23 10:13:56&#8211; https:\/\/mirrors.tuna.tsinghua.edu.cn\/anaconda\/archive\/Anaconda3-2021.11-Linux-x86_64.sh Resolving mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)&#8230; 101.6.15.130, 2402:f000:1:400::2 Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.15.130|:443&#8230; connected. HTTP request sent, awaiting response&#8230; 403 Forbidden 2024-03-23 10:14:02 ERROR 403: Forbidden.<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u8fd9\u4e2a\u95ee\u9898\u662f\u5173\u4e8e\u7f51\u7edc\u8bf7\u6c42\u7684&#xff0c;\u5177\u4f53\u6765\u8bf4&#xff0c;\u662f\u5c1d\u8bd5\u4f7f\u7528<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">wget<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u547d\u4ee4\u4ece\u6e05\u534e\u5927\u5b66\u7684\u5f00\u6e90\u955c\u50cf\u7ad9&#xff08;<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">mirrors.tuna.tsinghua.edu.cn<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">&#xff09;\u4e0b\u8f7d\u4e00\u4e2a<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">Anaconda<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u7684\u5b89\u88c5\u811a\u672c\u3002\u7136\u800c&#xff0c;\u4f60\u9047\u5230\u4e86\u4e00\u4e2a<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">403 Forbidden<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u7684\u9519\u8bef&#xff0c;\u8fd9\u901a\u5e38\u610f\u5473\u7740\u670d\u52a1\u5668\u62d2\u7edd\u4e86\u4f60\u7684\u8bf7\u6c42\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u89e3\u51b3\u65b9\u6cd5&#xff1a;\u81ea\u884c\u641c\u7d22\u66f4\u6539\u4e3a\u5176\u4ed6\u7684\u955c\u50cf\u5730\u5740\u4e0b\u8f7d<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u2461\u5b89\u88c5\u7ed3\u675f\u540e\u8f93\u5165&#xff1a;<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">bash Anaconda3-2022.10-Linux-x86_64.sh<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u2462\u4e00\u76f4\u70b9\u51fb<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">yes<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u5373\u53ef<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">\u62a5\u9519\u2460<\/span><\/span><span style=\"color:#ff0000\">ERROR: Cannot install into directories with spaces<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">\u89e3\u51b3&#xff1a;\u8be5\u76ee\u5f55\u4e0b\u5b89\u88c5\u7a7a\u95f4\u4e0d\u8db3&#xff0c;\u66f4\u6362\u4e3a\u5176\u4ed6\u76ee\u5f55\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">\u62a5\u9519\u2461<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">Anaconda3 will now be installed into this location: \/home\/XX\/anaconda3 <\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">&#8211; Press ENTER to confirm the location <\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">&#8211; Press CTRL-C to abort the installation<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">\u00a0&#8211; Or specify a different location below<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u89e3\u51b3&#xff1a;\u2460\u4e0d\u8981\u70b9\u51fb<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">Enter<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u2461\u8f93\u5165\u8981\u5b89\u88c5\u7684\u76ee\u5f55<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0<span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">\u7279\u522b\u6ce8\u610f<\/span><\/span> <span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">\u6b64\u5904\u7684\u5b89\u88c5\u76ee\u5f55\u8f93\u5165\u683c\u5f0f\u4e3a<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\u201c<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\/\u2026\u2026(<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\u540d\u79f0<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">)\/<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\u201d<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">,<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">\u4e0d\u662f<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\/\u2026\u2026(<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\u540d\u79f0<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">)\/<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">&#xff08;\u53ef\u80fd\u65e0\u6cd5\u6210\u529f\u5207\u6362&#xff09;<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">&#xff0c;\u8981\u52a0\u4e0a\u5f15\u53f7\u624d\u80fd\u6210\u529f\u66ff\u6362\u5230\u8981\u5b89\u88c5\u7684\u76ee\u5f55\u4e0b\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">conda<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u73af\u5883\u7684\u914d\u7f6e<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#ffc000\">\u5728<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#ffc000\">conda<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#ffc000\">\u73af\u5883\u914d\u7f6e\u524d\u5148\u5b66\u4e60<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#ffc000\">bash shell<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#ffc000\">\u754c\u9762\u7684\u57fa\u672c\u64cd\u4f5c\u65b9\u6cd5&#xff1a;<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u2460<\/span><\/span><span style=\"background-color:#282c34\"><span style=\"color:#abb2bf\">vim ~\/.bashrc<\/span><\/span><span style=\"background-color:#282c34\"><span style=\"color:#abb2bf\">&#xff1a;\u6253\u5f00\u7f16\u8f91<\/span><\/span><span style=\"background-color:#282c34\"><span style=\"color:#abb2bf\">bash shell<\/span><\/span><span style=\"background-color:#282c34\"><span style=\"color:#abb2bf\">\u7684\u754c\u9762<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">\u82e5\u51fa\u73b0\u8b66\u544a&#xff1a;<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">Found a swap file by the name &#034;~\/.bashrc.swp&#034; owned by: ningyang dated: Sat Mar 23 10:47:36 2024 file name: ~ningyang\/.bashrc modified: YES user name: ningyang host name: 4d7078615232 process ID: 173 While opening file &#034;\/home\/ningyang\/.bashrc&#034; dated: Sat Mar 23 13:47:54 2024 NEWER than swap file! (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution. (2) An edit session for this file crashed. If this is the case, use &#034;:recover&#034; or &#034;vim -r \/home\/ningyang\/.bashrc&#034; to recover the changes (see &#034;:help recovery&#034;). If you did this already, delete the swap file &#034;\/home\/ningyang\/.bashrc.swp&#034; to avoid this message. Swap file &#034;~\/.bashrc.swp&#034; already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\u539f\u56e0&#xff1a;\u4e0a\u6b21\u6253\u5f00<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">bash shell<\/span><\/span><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\u754c\u9762\u540e\u4e3a\u6b63\u5e38\u9000\u51fa<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#00b0f0\">\u9009\u9879\u89e3\u91ca<\/span><\/span><\/p>\n<ul>\n<li style=\"text-align:left\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">[O]pen Read-Only&#xff1a;\u4ee5\u53ea\u8bfb\u6a21\u5f0f\u6253\u5f00\u6587\u4ef6\u3002\u8fd9\u6837\u4f60\u53ef\u4ee5\u67e5\u770b\u6587\u4ef6\u5185\u5bb9&#xff0c;\u4f46\u4e0d\u80fd\u8fdb\u884c\u7f16\u8f91\u3002<\/span><\/span><\/li>\n<li style=\"text-align:left\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">(E)dit anyway&#xff1a;\u65e0\u8bba\u5982\u4f55\u90fd\u7f16\u8f91\u6587\u4ef6\u3002\u8fd9\u53ef\u80fd\u4f1a\u8986\u76d6\u5176\u4ed6Vim\u5b9e\u4f8b\u6240\u505a\u7684\u66f4\u6539&#xff0c;\u6216\u8005\u5bfc\u81f4\u6570\u636e\u4e22\u5931&#xff0c;\u56e0\u6b64\u8981\u5c0f\u5fc3\u4f7f\u7528\u3002<\/span><\/span><\/li>\n<li style=\"text-align:left\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">(R)ecover&#xff1a;\u5c1d\u8bd5\u4ece\u4ea4\u6362\u6587\u4ef6\u4e2d\u6062\u590d\u6570\u636e\u3002\u8fd9\u901a\u5e38\u5728\u4f60\u8ba4\u4e3a\u4e4b\u524d\u7684\u7f16\u8f91\u4f1a\u8bdd\u53ef\u80fd\u5df2\u5d29\u6e83&#xff0c;\u5e76\u4e14\u4f60\u60f3\u8981\u4fdd\u7559\u90a3\u4e9b\u672a\u4fdd\u5b58\u7684\u66f4\u6539\u65f6\u4f7f\u7528\u3002<\/span><\/span><\/li>\n<li style=\"text-align:left\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">(D)elete it&#xff1a;\u5220\u9664\u4ea4\u6362\u6587\u4ef6\u3002\u5982\u679c\u4f60\u786e\u5b9a\u4e4b\u524d\u7684\u7f16\u8f91\u4f1a\u8bdd\u5df2\u7ecf\u5b8c\u6210&#xff08;\u6216\u8005\u4e0d\u91cd\u8981&#xff09;&#xff0c;\u5e76\u4e14\u4f60\u60f3\u8981\u5f00\u59cb\u4e00\u4e2a\u65b0\u7684\u7f16\u8f91\u4f1a\u8bdd&#xff0c;\u90a3\u4e48\u53ef\u4ee5\u9009\u62e9\u8fd9\u4e2a\u9009\u9879\u3002<\/span><\/span><\/li>\n<li style=\"text-align:left\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">(Q)uit&#xff1a;\u9000\u51faVim\u6216Vi&#xff0c;\u4e0d\u6253\u5f00\u6587\u4ef6\u3002<\/span><\/span><\/li>\n<li style=\"text-align:left\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">(A)bort&#xff1a;\u4e2d\u6b62\u5f53\u524d\u64cd\u4f5c&#xff0c;\u901a\u5e38\u4e0e(Q)uit\u6548\u679c\u76f8\u540c\u3002<\/span><\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:left\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#05073b\">\u82e5\u73af\u5883\u53d8\u91cf\u5e76\u672a\u8bbe\u7f6e\u6210\u529f\u53ef\u4ee5\u9009\u62e9<\/span><span style=\"color:#05073b\">D<\/span><span style=\"color:#05073b\">\u540e\u91cd\u65b0\u5f00\u59cb\u8bbe\u7f6e&#xff0c;\u82e5\u60f3\u4fdd\u7559\u4e4b\u524d\u7684\u64cd\u4f5c&#xff0c;\u5219\u9009\u62e9<\/span><span style=\"color:#05073b\">E<\/span><span style=\"color:#05073b\">\u7ee7\u7eed\u7f16\u8f91\u3002\u82e5<\/span><span style=\"color:#05073b\">conda<\/span><span style=\"color:#05073b\">\u73af\u5883\u5df2\u7ecf\u914d\u7f6e\u597d<\/span><span style=\"color:#05073b\">D<\/span><span style=\"color:#05073b\">\u53ef\u80fd\u4f1a\u5220\u9664\u5df2\u7ecf\u914d\u7f6e\u7684\u73af\u5883\u3002<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:left\"><span style=\"background-color:#fdfdfe\"><span style=\"color:#ff0000\">a <\/span><span style=\"color:#ff0000\">\u8fdb\u5165\u7f16\u8f91\u6a21\u5f0f<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">&#xff1a;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">wq <\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">\u4fdd\u5b58\u540e\u9000\u51fa<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">&#xff1a;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">w <\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">\u4fdd\u5b58\u4f46\u4e0d\u9000\u51fa<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">&#xff01;&#xff01;&#xff01;\u4e0d\u8981\u5fd8\u6253<\/span><\/span> <span style=\"background-color:#ffffff\"><span style=\"color:#ff0000\">&#xff1a;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">&#xff1a;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">w<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">&#xff01;\u5f3a\u5236\u5199\u5165<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">&#xff1a;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">q <\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">\u9000\u51fa<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">&#xff1a;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">q<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">&#xff01;\u82e5\u4fee\u6539\u8fc7\u6863\u6848&#xff0c;\u53c8\u4e0d\u60f3\u5b58\u50a8&#xff0c;\u5f3a\u5236\u9000\u51fa<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">&#xff1a;<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">e!<\/span><\/span><span style=\"background-color:#ffffff\"><span style=\"color:#4d4d4d\">\u5c06\u6863\u6848\u8fd8\u539f\u5230\u6700\u539f\u59cb\u7684\u72b6\u6001<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#05073b\">\u2461\u5728\u7f16\u8f91\u6a21\u5f0f\u4e0b\u8f93\u5165<\/span><span style=\"color:#05073b\">export PATH&#061;\/hmoe\/XX \/anaconda3\/bin:$PATH<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#05073b\">\u2462\u901a\u8fc7<\/span><span style=\"color:#ff0000\">&#xff1a;<\/span><span style=\"color:#ff0000\">wq<\/span><span style=\"color:#05073b\">\u9000\u51fa<\/span><span style=\"color:#05073b\">bashshell<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#05073b\">\u2463\u9000\u51fa\u540e\u8f93\u5165<\/span><span style=\"color:#05073b\">source ~\/.bashrc<\/span><span style=\"color:#05073b\">\u4fdd\u5b58\u6240\u505a\u7684\u66f4\u6539<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">source ~\/.bashrc<\/span><span style=\"color:#ff0000\">\u8981\u5728\u9000\u51fa<\/span><span style=\"color:#ff0000\">bash shell<\/span><span style=\"color:#ff0000\">\u540e\u6267\u884c&#xff0c;\u4e0d\u662f\u5728<\/span><span style=\"color:#ff0000\">bash shell<\/span><span style=\"color:#ff0000\">\u4e2d\u8f93\u5165<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#05073b\">\u8f93\u5165<\/span><span style=\"color:#05073b\">bashshell<\/span><span style=\"color:#05073b\">\u540e\u9000\u51fa\u91cd\u8fdb\u5373\u53ef<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2464\u68c0\u9a8c&#xff1a;\u8f93\u5165<\/span><span style=\"color:#000000\">conda -V<\/span><span style=\"color:#000000\">&#xff0c;\u82e5\u663e<\/span><span style=\"color:#000000\">conda<\/span><span style=\"color:#000000\">\u7248\u672c\u5219\u8bf4\u660e<\/span><span style=\"color:#000000\">conda<\/span><span style=\"color:#000000\">\u73af\u5883\u914d\u7f6e\u6210\u529f<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u5728<\/span><span style=\"color:#000000\">conda<\/span><span style=\"color:#000000\">\u4e2d\u521b\u5efa\u73af\u5883<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2460<\/span><span style=\"color:#05073b\">conda create &#8211;name XX python&#061;3.9<\/span><span style=\"color:#05073b\">&#xff08;<\/span><span style=\"color:#ff0000\">\u8bb0\u4f4f\u521b\u5efa\u7684<\/span><span style=\"color:#ff0000\">python<\/span><span style=\"color:#ff0000\">\u7248\u672c<\/span><span style=\"color:#05073b\">&#xff09;\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a<\/span><span style=\"color:#05073b\">XX<\/span><span style=\"color:#05073b\">&#xff0c;<\/span><span style=\"color:#05073b\">python<\/span><span style=\"color:#05073b\">\u4e3a<\/span><span style=\"color:#05073b\">3.9<\/span><span style=\"color:#05073b\">\u7684\u73af\u5883<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#05073b\">\u2461<\/span><span style=\"color:#05073b\">conda activate XX<\/span><span style=\"color:#05073b\">\u8fdb\u5165\u5230\u521b\u5efa\u7684\u73af\u5883<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u5b89\u88c5<\/span><span style=\"color:#000000\">Pytorch<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u2460\u8fdb\u5165\u5b98\u7f51PyTorch\u5bfb\u627e\u9700\u8981\u7684\u7248\u672c<\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"761\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165304-680283701dc55.png\" width=\"1200\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u6240\u4e0b\u8f7dpytorch\u7248\u672c\u9700\u4e0epython\u7248\u672c\u76f8\u5339\u914d<\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"432\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165304-68028370a1b23.png\" width=\"1200\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u5728linux\u4e0b\u627e\u5230\u9700\u8981\u7684\u7248\u672c&#xff0c;\u590d\u5236\u6307\u4ee4\u76f4\u63a5\u5728\u6253\u5f00\u7684\u73af\u5883\u4e2d\u4e0b\u8f7d\u5373\u53ef<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u2461\u68c0\u9a8c&#xff1a;conda list torch<\/p>\n<p style=\"margin-left:0;text-align:justify\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"218\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165305-6802837100f05.png\" width=\"889\" \/><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u8bf4\u660e\u5b89\u88c5\u6210\u529f<\/p>\n<p style=\"margin-left:0;text-align:justify\">Pytorch\u6d88\u5931<\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">ModuleNotFoundError: No module named &#039;torch&#039;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\u2460conda list torch\u68c0\u9a8cpytorch\u662f\u5426\u4e0b\u8f7d\u5b8c\u6210<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u82e5\u786e\u5b9apytorch\u4e0b\u8f7d\u6210\u529f\u4f9d\u65e7\u62a5\u9519<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u2460\u68c0\u67e5\u662f\u5426\u8fdb\u5165\u4e86\u5b89\u88c5\u7684\u76ee\u5f55\u4ee5\u53ca\u662f\u5426\u8fdb\u5165\u4e86\u5b89\u88c5pytorch\u7684conda\u73af\u5883<\/p>\n<p style=\"margin-left:0;text-align:justify\">\u2461\u68c0\u67e5python\u4e0epytorch\u7684\u73af\u5883\u662f\u5426\u5339\u914d<\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#eef0f7\"><span style=\"color:#545454\">conda uninstall pytorch<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#eef0f7\"><span style=\"color:#545454\">pip uninstall torch<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#eef0f7\"><span style=\"color:#545454\">\u5378\u8f7d<\/span><\/span><span style=\"background-color:#eef0f7\"><span style=\"color:#545454\">pytorch<\/span><\/span><span style=\"background-color:#eef0f7\"><span style=\"color:#545454\">\u540e\u91cd\u65b0\u4e0b\u8f7d<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"background-color:#eef0f7\"><span style=\"color:#ff0000\">\u2462\u68c0\u9a8c<\/span><\/span><span style=\"background-color:#eef0f7\"><span style=\"color:#ff0000\">python<\/span><\/span><span style=\"background-color:#eef0f7\"><span style=\"color:#ff0000\">\u7684\u8def\u5f84<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2460Conda activate XX\u8fdb\u5165\u73af\u5883&#xff0c;\u8f93\u5165python -V\u67e5\u770bpython\u7684\u73af\u5883&#xff0c;\u6b64\u73af\u5883\u4e3a\u8fd0\u884c\u4ee3\u7801\u7684python\u73af\u5883<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2461\u8f93\u5165<\/span><span style=\"color:#05073b\">conda list python<\/span><span style=\"color:#000000\">\u521b\u5efa\u73af\u5883\u65f6\u521b\u7acb\u7684python\u73af\u5883&#xff0c;\u6b64\u5904\u4e3apytorch\u5b89\u88c5\u7684\u5730\u65b9<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#ff0000\">\u82e5\u53d1\u73b0\u4e24\u5904\u7684python\u7248\u672c\u4e0d\u4e00\u6837&#xff08;\u6216\u867d\u7136\u4e00\u6837\u4ecd\u7136\u65e0\u6cd5\u8c03\u7528pytorch&#xff09;&#xff0c;\u5219\u8bf4\u660e\u8c03\u7528\u65f6python\u8def\u5f84\u51fa\u73b0\u9519\u8bef&#xff0c;\u5373\u4f7f\u7528\u7684python\u5e76\u975e\u4e3a\u5b89\u88c5pytorch\u7684python<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u89e3\u51b3\u65b9\u6cd5&#xff1a;\u8f93\u5165which python\u67e5\u770b\u914d\u7f6e\u7684\u73af\u5883\u4e2dpython\u7684\u8def\u5f84&#xff0c;\u8f93\u5165echo $PATH\u67e5\u770b\u73af\u5883\u4e2d\u914d\u7f6e\u7684python\u8def\u5f84\u662f\u5426\u4f4d\u4e8e\u6700\u524d\u9762\u3002\u82e5\u663e\u793a\u5176\u8def\u5f84\u4e0d\u5728\u6700\u524d\u9762&#xff0c;\u5219\u9700\u5728bash shell\u754c\u9762\u66f4\u6539\u542f\u52a8\u73af\u5883\u65f6python\u7684\u6253\u5f00\u8def\u5f84\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2460conda activate XX\u786e\u4fdd\u8fdb\u5165\u73af\u5883<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2461<\/span><span style=\"background-color:#282c34\"><span style=\"color:#abb2bf\">vim ~\/.bashrc<\/span><\/span><span style=\"background-color:#282c34\"><span style=\"color:#abb2bf\">&#xff1a;\u6253\u5f00\u7f16\u8f91<\/span><\/span><span style=\"background-color:#282c34\"><span style=\"color:#abb2bf\">bash shell<\/span><\/span><span style=\"background-color:#282c34\"><span style=\"color:#abb2bf\">\u7684\u754c\u9762<\/span><\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2462<\/span>export PATH&#061;<span style=\"color:#ff0000\">\/home\/GP-VTON \/Anaconda\/envs\/class\/bin<\/span>:$PATH<span style=\"color:#00b0f0\">\u6807\u7ea2\u90e8\u5206\u4e3a<\/span><span style=\"color:#00b0f0\">which python<\/span><span style=\"color:#00b0f0\">\u6240\u67e5\u8be2\u5230\u7684\u8def\u5f84<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u2463<\/span><span style=\"color:#000000\">&#xff1a;<\/span><span style=\"color:#000000\">wq<\/span><span style=\"color:#000000\">\u9000\u51fa\u540e<\/span><span style=\"color:#05073b\">source ~\/.bashrc<\/span><span style=\"color:#05073b\">\u4fdd\u5b58&#xff0c;\u91cd\u65b0\u8fdb\u5165\u73af\u5883\u518d\u6b21\u7528<\/span><span style=\"color:#05073b\">python -V<\/span><span style=\"color:#05073b\">\u67e5\u770b\u7248\u672c\u662f\u5426\u66f4\u65b0\u6210\u529f<\/span><\/p>\n<p style=\"margin-left:0;text-align:left\">\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u89e3\u51b3\u65b9\u6cd5\uff1a\u8f93\u5165which python\u67e5\u770b\u914d\u7f6e\u7684\u73af\u5883\u4e2dpython\u7684\u8def\u5f84\uff0c\u8f93\u5165echo $PATH\u67e5\u770b\u73af\u5883\u4e2d\u914d\u7f6e\u7684python\u8def\u5f84\u662f\u5426\u4f4d\u4e8e\u6700\u524d\u9762\u3002\u82e5\u53d1\u73b0\u4e24\u5904\u7684python\u7248\u672c\u4e0d\u4e00\u6837\uff08\u6216\u867d\u7136\u4e00\u6837\u4ecd\u7136\u65e0\u6cd5\u8c03\u7528pytorch\uff09\uff0c\u5219\u8bf4\u660e\u8c03\u7528\u65f6python\u8def\u5f84\u51fa\u73b0\u9519\u8bef\uff0c\u5373\u4f7f\u7528\u7684python\u5e76\u975e\u4e3a\u5b89\u88c5pytorch\u7684python\u3002\u2460Conda activate XX\u8fdb\u5165\u73af\u5883\uff0c\u8f93\u5165python -V\u67e5\u770bpython\u7684\u73af\u5883\uff0c\u6b64\u73af\u5883\u4e3a\u8fd0\u884c\u4ee3\u7801\u7684python\u73af\u5883\u3002\u7684\u9519\u8bef\uff0c\u8fd9\u901a\u5e38\u610f\u5473\u7740\u670d\u52a1\u5668\u62d2\u7edd\u4e86\u4f60\u7684\u8bf7\u6c42\u3002_mobaxterm\u5b89\u88c5anaconda<\/p>\n","protected":false},"author":2,"featured_media":18474,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[152,43,44],"topic":[],"class_list":["post-18479","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-pytorch","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5 - \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\/18479.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u89e3\u51b3\u65b9\u6cd5\uff1a\u8f93\u5165which python\u67e5\u770b\u914d\u7f6e\u7684\u73af\u5883\u4e2dpython\u7684\u8def\u5f84\uff0c\u8f93\u5165echo $PATH\u67e5\u770b\u73af\u5883\u4e2d\u914d\u7f6e\u7684python\u8def\u5f84\u662f\u5426\u4f4d\u4e8e\u6700\u524d\u9762\u3002\u82e5\u53d1\u73b0\u4e24\u5904\u7684python\u7248\u672c\u4e0d\u4e00\u6837\uff08\u6216\u867d\u7136\u4e00\u6837\u4ecd\u7136\u65e0\u6cd5\u8c03\u7528pytorch\uff09\uff0c\u5219\u8bf4\u660e\u8c03\u7528\u65f6python\u8def\u5f84\u51fa\u73b0\u9519\u8bef\uff0c\u5373\u4f7f\u7528\u7684python\u5e76\u975e\u4e3a\u5b89\u88c5pytorch\u7684python\u3002\u2460Conda activate XX\u8fdb\u5165\u73af\u5883\uff0c\u8f93\u5165python -V\u67e5\u770bpython\u7684\u73af\u5883\uff0c\u6b64\u73af\u5883\u4e3a\u8fd0\u884c\u4ee3\u7801\u7684python\u73af\u5883\u3002\u7684\u9519\u8bef\uff0c\u8fd9\u901a\u5e38\u610f\u5473\u7740\u670d\u52a1\u5668\u62d2\u7edd\u4e86\u4f60\u7684\u8bf7\u6c42\u3002_mobaxterm\u5b89\u88c5anaconda\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/18479.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T16:53:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165303-6802836fae1f9.png\" \/>\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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/18479.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/18479.html\",\"name\":\"\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T16:53:06+00:00\",\"dateModified\":\"2025-04-18T16:53:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/18479.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/18479.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/18479.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5\"}]},{\"@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":"\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5 - \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\/18479.html","og_locale":"zh_CN","og_type":"article","og_title":"\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.7k\u6b21\uff0c\u70b9\u8d5e16\u6b21\uff0c\u6536\u85cf20\u6b21\u3002\u89e3\u51b3\u65b9\u6cd5\uff1a\u8f93\u5165which python\u67e5\u770b\u914d\u7f6e\u7684\u73af\u5883\u4e2dpython\u7684\u8def\u5f84\uff0c\u8f93\u5165echo $PATH\u67e5\u770b\u73af\u5883\u4e2d\u914d\u7f6e\u7684python\u8def\u5f84\u662f\u5426\u4f4d\u4e8e\u6700\u524d\u9762\u3002\u82e5\u53d1\u73b0\u4e24\u5904\u7684python\u7248\u672c\u4e0d\u4e00\u6837\uff08\u6216\u867d\u7136\u4e00\u6837\u4ecd\u7136\u65e0\u6cd5\u8c03\u7528pytorch\uff09\uff0c\u5219\u8bf4\u660e\u8c03\u7528\u65f6python\u8def\u5f84\u51fa\u73b0\u9519\u8bef\uff0c\u5373\u4f7f\u7528\u7684python\u5e76\u975e\u4e3a\u5b89\u88c5pytorch\u7684python\u3002\u2460Conda activate XX\u8fdb\u5165\u73af\u5883\uff0c\u8f93\u5165python -V\u67e5\u770bpython\u7684\u73af\u5883\uff0c\u6b64\u73af\u5883\u4e3a\u8fd0\u884c\u4ee3\u7801\u7684python\u73af\u5883\u3002\u7684\u9519\u8bef\uff0c\u8fd9\u901a\u5e38\u610f\u5473\u7740\u670d\u52a1\u5668\u62d2\u7edd\u4e86\u4f60\u7684\u8bf7\u6c42\u3002_mobaxterm\u5b89\u88c5anaconda","og_url":"https:\/\/www.wsisp.com\/helps\/18479.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T16:53:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418165303-6802836fae1f9.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/18479.html","url":"https:\/\/www.wsisp.com\/helps\/18479.html","name":"\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T16:53:06+00:00","dateModified":"2025-04-18T16:53:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/18479.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/18479.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/18479.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u73af\u5883\u914d\u7f6e1-MobaXterm\u670d\u52a1\u5668\u4e2dAnaconda\u3001Pytorch\u7684\u5b89\u88c5"}]},{"@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\/18479","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=18479"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/18479\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/18474"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=18479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=18479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=18479"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=18479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}