{"id":273544,"date":"2022-08-12T08:00:00","date_gmt":"2022-08-12T07:00:00","guid":{"rendered":"https:\/\/blog.jetbrains.com\/dataspell\/2022\/07\/using-jupyter-notebooks-with-wsl-2-in-dataspell\/"},"modified":"2022-08-18T04:00:44","modified_gmt":"2022-08-18T03:00:44","slug":"using-jupyter-notebooks-with-wsl-2-in-dataspell","status":"publish","type":"dataspell","link":"https:\/\/blog.jetbrains.com\/zh-hans\/dataspell\/2022\/08\/using-jupyter-notebooks-with-wsl-2-in-dataspell\/","title":{"rendered":"\u5728 DataSpell \u4e2d\u4f7f\u7528 Jupyter Notebook \u4e0e WSL 2"},"content":{"rendered":"\n<p>\u5bf9\u4e8e\u4f7f\u7528 Windows \u7684\u6570\u636e\u79d1\u5b66\u5bb6\u6216\u673a\u5668\u5b66\u4e60\u5de5\u7a0b\u5e08\u6765\u8bf4\uff0c<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/about\" target=\"_blank\" rel=\"noopener\">Windows Subsystem for Linux 2<\/a>&nbsp;(WSL 2) \u7684\u529f\u80fd\u4e00\u5b9a\u4e0d\u7b97\u964c\u751f\u3002&nbsp;WSL 2 \u5141\u8bb8\u4f7f\u7528 Hyper-V \u865a\u62df\u5316\u5728 Windows 10 \u6216 11 \u4e0a\u5b8c\u5168\u5b89\u88c5 Linux \u53d1\u884c\u7248\u3002&nbsp;\u6d89\u53ca\u6570\u636e\u79d1\u5b66\u6216\u673a\u5668\u5b66\u4e60\u4efb\u52a1\u65f6\uff0c\u8fd9\u63d0\u4f9b\u4e86\u6765\u81ea\u4e24\u4e2a\u65b9\u9762\u7684\u4f18\u52bf\uff1a\u5728 Windows \u4e0a\u8bbf\u95ee\u6240\u6709\u5e94\u7528\u7a0b\u5e8f\u6216\u6587\u4ef6\uff0c\u4ee5\u53ca\u4f7f\u7528 Linux \u8fd0\u884c Python \u4ee3\u7801\u3002&nbsp;\u8fd9\u5b8c\u7f8e\u5951\u5408\u4f7f\u7528 Linux \u4e13\u5c5e\u8f6f\u4ef6\u5305\u7684\u5206\u6790\u6216\u6a21\u578b\uff0c\u65e0\u9700\u624b\u52a8\u7f16\u8bd1\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1280\" height=\"600\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/08\/Blog_Featured_image_1280x600-4.png\" alt=\"\" class=\"wp-image-274182\"\/><\/figure>\n\n\n\n<p>WSL 2 \u6bd4\u4f20\u7edf\u865a\u62df\u673a\u66f4\u8f7b\u91cf\uff0c\u4ec5\u63d0\u4f9b\u547d\u4ee4\u884c\u529f\u80fd\uff0c\u4e00\u76f4\u5c06 Python \u4e2d\u7684\u5f00\u53d1\u73af\u5883\u9009\u9879\u9650\u5236\u4e3a Jupyter Notebook\u3002&nbsp;\u597d\u5728 DataSpell 2022.2 \u5177\u6709\u901a\u8fc7 WSL 2 \u914d\u7f6e Python \u89e3\u91ca\u5668\u7684\u529f\u80fd\uff0c\u60a8\u53ef\u4ee5\u5728 Windows \u4e0a\u901a\u8fc7 DataSpell \u8f7b\u677e\u8fd0\u884c\u6240\u6709\u60f3\u8981\u4f7f\u7528\u7684 Linux \u517c\u5bb9\u8f6f\u4ef6\u5305\u3002&nbsp;\u6211\u4eec\u6765\u770b\u770b\u5b83\u662f\u5982\u4f55\u8fd0\u4f5c\u7684\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8bbe\u7f6e WSL 2<\/h2>\n\n\n\n<p>\u4f7f\u7528 WSL 2 \u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fdd\u4f7f\u7528\u7684\u662f\u517c\u5bb9\u7248\u672c\u7684 Windows\u3002&nbsp;Windows 10 \u7248\u672c 2004 \u53ca\u66f4\u9ad8\u7248\u672c\uff08\u5bb6\u5ead\u7248\u53ca\u66f4\u9ad8\u7248\u672c\uff09\u548c\u6240\u6709\u7248\u672c\u7684 Windows 11 \u90fd\u652f\u6301 WSL 2\u3002<\/p>\n\n\n\n<p>\u7136\u540e\uff0c\u5b89\u88c5 Ubuntu \u6216\u9996\u9009 Linux \u53d1\u884c\u7248\u3002&nbsp;Ubuntu \u548c\u8bb8\u591a\u5176\u4ed6\u53d1\u884c\u7248\u90fd\u53ef\u4ee5\u4ece Microsoft Store \u83b7\u5f97\uff0c\u53ef\u4ee5\u76f4\u63a5\u5b89\u88c5\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2520\" height=\"1400\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-1.png\" alt=\"\" class=\"wp-image-266492\"\/><\/figure>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u6309\u7167&nbsp;<a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/install\" target=\"_blank\" rel=\"noopener\">Microsoft \u7684\u6307\u5357<\/a>\u8bbe\u7f6e WSL 2 \u4e0e\u6240\u9009 Linux \u53d1\u884c\u7248\u3002&nbsp;\u6307\u5357\u4e2d\u6709\u591a\u4e2a\u6b65\u9aa4\uff0c\u786e\u4fdd\u5728\u7ee7\u7eed\u4e4b\u524d\u4ed4\u7ec6\u5b8c\u6210\u6240\u6709\u6b65\u9aa4\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528 Powershell\uff0c\u53ef\u4ee5\u901a\u8fc7\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165&nbsp;<code>wsl<\/code>&nbsp;\u6765\u4f7f\u7528 WSL 2\u3002&nbsp;\u60a8\u968f\u65f6\u53ef\u4ee5\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e2d\u8f93\u5165&nbsp;<code>exit<\/code>&nbsp;\u9000\u51fa WSL 2\u3002\u6700\u540e\uff0c\u5728 WSL 2 \u4e2d\uff0c\u786e\u4fdd<a href=\"https:\/\/docs.python-guide.org\/starting\/install3\/linux\/\" target=\"_blank\" rel=\"noopener\">\u5df2\u5b89\u88c5\u6216\u66f4\u65b0\u5230<\/a>\u6240\u9700\u7248\u672c\u7684 Python 3\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f7f\u7528 WSL 2 \u5728 DataSpell \u4e2d\u914d\u7f6e\u89e3\u91ca\u5668<\/h2>\n\n\n\n<p>Python \u662f\u4e00\u79cd\u89e3\u91ca\u578b\u8bed\u8a00\uff0c\u9700\u8981\u89e3\u91ca\u5668\u624d\u80fd\u8fd0\u884c\u3002&nbsp;\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u8fd9\u662f\u7528\u6765\u8fd0\u884c\u811a\u672c\u7684&nbsp;<code>python<\/code>&nbsp;\u547d\u4ee4\u3002&nbsp;Python \u89e3\u91ca\u5668\u8d1f\u8d23\u5c06 Python \u4ee3\u7801\u8f6c\u6362\u4e3a\u53ef\u4ee5\u7531\u8ba1\u7b97\u673a\u5904\u7406\u5668\u6267\u884c\u7684\u5185\u5bb9\uff0c\u5982<a href=\"https:\/\/www.youtube.com\/watch?v=BkHdmAhapws\" target=\"_blank\" rel=\"noopener\">\u672c\u89c6\u9891<\/a>\u4e2d\u6240\u8ff0\u3002&nbsp;\u89e3\u91ca\u5668\u7279\u5b9a\u4e8e\u6bcf\u4e2a\u5904\u7406\u5668\u548c\u64cd\u4f5c\u7cfb\u7edf\u3002<\/p>\n\n\n\n<p>\u60a8\u53ef\u80fd\u5df2\u7ecf\u5728 Windows \u4e2d\u8fd0\u884c\u8fc7 Python\uff0c\u4f46\u662f\uff0c\u8981\u5c06 WSL 2 \u4e0e DataSpell \u4e00\u8d77\u4f7f\u7528\uff0c\u6211\u4eec\u9700\u8981\u544a\u8bc9\u5b83\u4f7f\u7528 WSL 2 \u53d1\u884c\u7248\u7684 Python \u89e3\u91ca\u5668\u3002&nbsp;\u8f6c\u5230&nbsp;<em>File | Settings | Project Workspace | Python Interpreter<\/em>\uff08\u6587\u4ef6 | \u8bbe\u7f6e | \u9879\u76ee\u5de5\u4f5c\u533a | Python \u89e3\u91ca\u5668\uff09\u8fdb\u884c\u8bbe\u7f6e\u3002&nbsp;\u6211\u4e2a\u4eba\u504f\u5411\u4e8e\u4e3a\u6bcf\u4e2a\u5de5\u4f5c\u533a\u8bbe\u7f6e\u4e00\u4e2a\u89e3\u91ca\u5668\uff0c\u6240\u4ee5\u6211\u5728\u5de6\u4fa7\u5217\u8868\u4e2d\u9009\u62e9\u4e86&nbsp;<em>clothing_image_classification<\/em>\u3002\u5982\u679c\u60a8\u613f\u610f\u8ba9\u6240\u6709\u9879\u76ee\u90fd\u6709\u4e00\u4e2a\u901a\u7528\u89e3\u91ca\u5668\uff0c\u53ef\u4ee5\u5c06\u9009\u9879\u4fdd\u7559\u4e3a&nbsp;<em>workspace<\/em>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2413\" height=\"1775\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-2.png\" alt=\"\" class=\"wp-image-266503\"\/><\/figure>\n\n\n\n<p>Next, sele\u63a5\u4e0b\u6765\uff0c\u9009\u62e9\u53f3\u4e0a\u89d2\u4e0b\u62c9\u83dc\u5355\u65c1\u8fb9\u7684&nbsp;<em>Add Interpreter<\/em>\uff08\u6dfb\u52a0\u89e3\u91ca\u5668\uff09\uff0c\u9009\u62e9&nbsp;<em>On WSL\u2026<\/em>\uff08\u5728 WSL \u4e0a\u2026\uff09\u9009\u9879\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1594\" height=\"238\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-3.png\" alt=\"\" class=\"wp-image-266514\"\/><\/figure>\n\n\n\n<p>\u5728\u4e0b\u4e00\u4e2a\u5c4f\u5e55\u4e0a\uff0c\u786e\u4fdd\u4ece\u4e0b\u62c9\u83dc\u5355\u9009\u62e9\u9996\u9009 Linux \u53d1\u884c\u7248\u3002&nbsp;\u5185\u7701\u5b8c\u6210\u540e\u9009\u62e9&nbsp;<em>Next<\/em>\uff08\u4e0b\u4e00\u6b65\uff09\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1749\" height=\"1377\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-4.png\" alt=\"\" class=\"wp-image-266525\"\/><\/figure>\n\n\n\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u53ef\u4ee5\u914d\u7f6e\u89e3\u91ca\u5668\u4e86\u3002&nbsp;DataSpell \u5f53\u524d\u652f\u6301\u4f7f\u7528\u7cfb\u7edf\u89e3\u91ca\u5668\u6216\u521b\u5efa<a href=\"https:\/\/docs.python.org\/3\/library\/venv.html\" target=\"_blank\" rel=\"noopener\">\u865a\u62df\u73af\u5883<\/a>\uff08\u5373 virtualenv\uff09\u3002&nbsp;\u4f7f\u7528\u7cfb\u7edf\u89e3\u91ca\u5668\u65f6\uff0c\u8ba1\u7b97\u673a\u4e0a\u7684\u9ed8\u8ba4 Python \u7248\u672c\u5c06\u7528\u4e8e\u89e3\u91ca\u4ee3\u7801\uff0c\u5e76\u4e14\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u90fd\u5c06\u9488\u5bf9\u8be5 Python \u7248\u672c\u8fdb\u884c\u5b9a\u5236\u3002&nbsp;\u4f7f\u7528\u865a\u62df\u73af\u5883\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u7279\u5b9a Python \u7248\u672c\u521b\u5efa\u9694\u79bb\u73af\u5883\uff0c\u5e26\u6709\u5176\u81ea\u5df1\u7684\u89e3\u91ca\u5668\u548c\u8f6f\u4ef6\u5305\u7248\u672c\u3002&nbsp;\u6211\u9009\u62e9\u521b\u5efa\u65b0\u7684 virtualenv \u5e76\u5c06\u5176\u91cd\u547d\u540d\u4e3a&nbsp;<em>clothing_image_classification<\/em>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2022\" height=\"1240\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-5.png\" alt=\"\" class=\"wp-image-267555\"\/><\/figure>\n\n\n\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u5df2\u914d\u7f6e\u89e3\u91ca\u5668\u548c virtualenv\uff0c\u53ef\u4ee5\u5bfc\u5165\u6240\u9700\u8f6f\u4ef6\u5305\u4e86\u3002&nbsp;\u6211\u5c06\u5728\u8fd9\u4e2a\u9879\u76ee\u4e2d\u4f7f\u7528&nbsp;<a href=\"https:\/\/www.tensorflow.org\/\" target=\"_blank\" rel=\"noopener\">Tensorflow<\/a>\u3001<a href=\"https:\/\/keras.io\/\" target=\"_blank\" rel=\"noopener\">Keras<\/a>&nbsp;\u548c&nbsp;<a href=\"https:\/\/matplotlib.org\/\" target=\"_blank\" rel=\"noopener\">Matplotlib<\/a>\uff0c\u6240\u4ee5\u6211\u4f7f\u7528\u4e86 UI \u6765\u67e5\u627e\u548c pip \u5b89\u88c5\u5b83\u4eec\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2304\" height=\"1792\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-6.png\" alt=\"\" class=\"wp-image-266536\"\/><\/figure>\n\n\n\n<p>\u8981\u521b\u5efa Jupyter Notebook\uff0c\u8bf7\u8f6c\u5230&nbsp;<em>File | New | Jupyter Notebook<\/em>\uff08\u6587\u4ef6 | \u65b0\u5efa | Jupyter Notebook\uff09\uff0c\u5728\u51fa\u73b0\u63d0\u793a\u65f6\u8f93\u5165\u540d\u79f0\u3002<\/p>\n\n\n\n<p>\u73b0\u5728\uff0c\u6211\u4eec\u6709\u4e00\u4e2a Jupyter Notebook \u5728 Windows \u4e0a\u7684 DataSpell \u4e2d\u8fd0\u884c\uff0c\u4f46\u4f7f\u7528\u7684\u662f\u5728 Ubuntu \u4e0a\u8fd0\u884c\u7684\u89e3\u91ca\u5668\u3002&nbsp;\u53ef\u4ee5\u770b\u5230\uff0c\u6211\u4eec\u5df2\u7ecf\u80fd\u591f\u4ece Keras \u6570\u636e\u96c6\u5bfc\u5165\u6570\u636e\u96c6\u5e76\u4f7f\u7528 Matplotlib \u5448\u73b0\u5176\u4e2d\u7684\u4e00\u90e8\u5206\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"2800\" height=\"1317\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-7-2800x1317.png\" alt=\"\" class=\"wp-image-266547\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u901a\u8fc7\u7ec8\u7aef\u4f7f\u7528 WSL 2<\/h2>\n\n\n\n<p>\u901a\u8fc7 DataSpell \u4e2d\u7684\u7ec8\u7aef\u4e5f\u53ef\u4ee5\u8bbf\u95ee WSL 2\u3002&nbsp;\u6253\u5f00 Terminal\uff08\u7ec8\u7aef\uff09\u9009\u9879\u5361\uff0c\u5728\u547d\u4ee4\u63d0\u793a\u7b26\u4e0b\u8f93\u5165&nbsp;<code>wsl<\/code>\u3002&nbsp;\u8fd9\u5c06\u5141\u8bb8\u60a8\u5728 Linux \u4e2d\u8fd0\u884c\u547d\u4ee4\u884c\u5b9e\u53c2\uff0c\u65e0\u9700\u79bb\u5f00 IDE\u3002&nbsp;\u53ef\u4ee5\u770b\u5230\uff0c\u6211\u5df2\u7ecf\u5728 Ubuntu \u4e2d\u6fc0\u6d3b\u4e86 virtualenv\uff0c\u5e76\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u884c pip \u5b89\u88c5\u4e86&nbsp;<code>pandas<\/code>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"2800\" height=\"1323\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-8-2800x1323.png\" alt=\"\" class=\"wp-image-266558\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u8bbf\u95ee\u5b58\u50a8\u5728 Linux \u4e0a\u7684\u6587\u4ef6<\/h2>\n\n\n\n<p>\u9664\u4e86\u4e3a\u89e3\u91ca\u5668\u4f7f\u7528 Linux \u53d1\u884c\u7248\uff0c\u60a8\u53ef\u80fd\u4e5f\u60f3\u5728 Linux \u800c\u4e0d\u662f Windows \u4e0a\u5b58\u50a8\u7528\u4e8e\u5206\u6790\u7684\u6587\u4ef6\uff0c&nbsp;DataSpell \u53ef\u4ee5\u81ea\u52a8\u68c0\u6d4b WSL 2 \u6587\u4ef6\u7cfb\u7edf &#8220;\\\\wsl$&#8221;\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u50cf\u4ece Windows \u76ee\u5f55\u4e00\u6837\u8f7b\u677e\u5730\u4ece Linux \u76ee\u5f55\u521b\u5efa\u5de5\u4f5c\u533a\u3002&nbsp;\u5728 Linux \u4e2d\u521b\u5efa\u5de5\u4f5c\u533a\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u5c06 &#8220;\\\\wsl$&#8221; \u6dfb\u52a0\u5230<a href=\"https:\/\/www.jetbrains.com.cn\/help\/idea\/project-security.html#trust_sources\" target=\"_blank\" rel=\"noopener\">\u53d7\u4fe1\u4efb\u4f4d\u7f6e<\/a>\u5217\u8868\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"2417\" height=\"1774\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-9.png\" alt=\"\" class=\"wp-image-266569\"\/><\/figure>\n\n\n\n<p>\u7136\u540e\uff0c\u60a8\u53ef\u4ee5\u4ece &#8220;\\wsl$&#8221; \u76ee\u5f55\u4e2d\u7684\u4f4d\u7f6e\u521b\u5efa\u5de5\u4f5c\u533a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"1152\" height=\"1364\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-10.png\" alt=\"\" class=\"wp-image-266580\"\/><\/figure>\n\n\n\n<p>\u4ece\u8fd9\u91cc\u5f00\u59cb\uff0c\u5de5\u4f5c\u6d41\u4e0e\u5728 Windows \u4e2d\u521b\u5efa\u7684\u5de5\u4f5c\u533a\u5b8c\u5168\u76f8\u540c\uff1a\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528 WSL 2 \u5728 Linux \u4e0a\u8bbe\u7f6e\u89e3\u91ca\u5668\uff0c\u751a\u81f3\u5728 Windows \u4e0a\u4e5f\u53ef\u4ee5\u3002&nbsp;\u4e0b\u9762\u6211\u590d\u5236\u4e86\u5728 Ubuntu \u5de5\u4f5c\u533a\u7684 Windows \u4e2d\u521b\u5efa\u7684\u540c\u4e00\u4e2a Notebook\uff0c\u4f7f\u7528\u7684\u662f\u5168\u65b0\u7684\u89e3\u91ca\u5668\u548c\u914d\u7f6e\u4e86 WSL 2 \u7684 virtualenv\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"2800\" height=\"1323\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2022\/07\/WSL-screenshot-11-2800x1323.png\" alt=\"\" class=\"wp-image-266591\"\/><\/figure>\n\n\n\n<p>\u6211\u5e0c\u671b\u8fd9\u7bc7\u6307\u5357\u80fd\u591f\u5c55\u793a\u51fa\u5728 DataSpell \u4e2d\u4f7f\u7528 Jupyter Notebook \u548c Windows Subsystem for Linux 2 \u662f\u591a\u4e48\u7b80\u5355\u76f4\u63a5\u3002&nbsp;\u53ea\u9700\u51e0\u4e2a\u7b80\u5355\u7684\u6b65\u9aa4\uff0c\u60a8\u5c31\u53ef\u4ee5\u6536\u83b7\u6765\u81ea\u4e24\u65b9\u9762\u7684\u4f18\u52bf\uff1a\u5728\u8212\u9002\u7684 Windows \u4e2d\u5de5\u4f5c\uff0c\u540c\u65f6\u80fd\u591f\u8bbf\u95ee Linux \u7684\u5f3a\u5927\u529f\u80fd\uff0c\u5e76\u4e14\u65e0\u9700\u79bb\u5f00 IDE\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u5c06 DataSpell \u8bed\u8a00\u8bbe\u7f6e\u4e3a\u4e2d\u6587\uff01&nbsp;<\/strong><\/p>\n\n\n\n<p>\u4e2d\u6587\u8bed\u8a00\u5305\u63d2\u4ef6\u73b0\u5df2\u652f\u6301 DataSpell\u3002\u5728 Preferences | Plugins \u4e2d\u641c\u7d22 \u201cChinese Language Pack\u201d\uff0c\u4e00\u952e\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n\n\n    <iframe loading=\"lazy\" frameborder=\"none\" width=\"384px\" height=\"320px\" src=\"https:\/\/plugins.jetbrains.com\/embeddable\/card\/13710\"><\/iframe>\n\n\n\n\n\n\n\n<p><\/p>\n\n\n\n<p>\u672c\u535a\u6587\u82f1\u6587\u539f\u4f5c\u8005\uff1a<\/p>\n\n\n    <div class=\"about-author \">\n        <div class=\"about-author__box\">\n            <div class=\"row\">\n                <div class=\"about-author__box-img\">\n                    <img decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/?s=200&#038;r=g\" width=\"200\" height=\"200\" alt=\"\" loading=\"lazy\"  class=\"avatar avatar-200 wp-user-avatar wp-user-avatar-200 photo avatar-default\">\n                <\/div>\n                <div class=\"about-author__box-text\">\n                                                        <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n","protected":false},"author":1297,"featured_media":274182,"comment_status":"closed","ping_status":"closed","template":"","categories":[947,952,1401,5108,2347],"tags":[7057,91,154,7070,2004,2676],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/dataspell\/273544"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/dataspell"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/dataspell"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1297"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=273544"}],"version-history":[{"count":10,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/dataspell\/273544\/revisions"}],"predecessor-version":[{"id":274205,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/dataspell\/273544\/revisions\/274205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/274182"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=273544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=273544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=273544"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=273544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}