{"id":986849,"date":"2024-12-27T07:48:27","date_gmt":"2024-12-26T23:48:27","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/986849.html"},"modified":"2024-12-27T07:48:30","modified_gmt":"2024-12-26T23:48:30","slug":"%e5%a6%82%e4%bd%95%e4%b8%8b%e8%bd%bd%e7%99%bd%e8%89%b2%e7%9a%84python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/986849.html","title":{"rendered":"\u5982\u4f55\u4e0b\u8f7d\u767d\u8272\u7684python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25063235\/be14fc4b-96ef-4f44-b104-1c7e1b4f5ad1.webp\" alt=\"\u5982\u4f55\u4e0b\u8f7d\u767d\u8272\u7684python\" \/><\/p>\n<p><p> <strong>\u4e0b\u8f7d\u767d\u8272\u7684Python\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u5982Homebrew\u6216APT\u83b7\u53d6\u3001\u901a\u8fc7Anaconda\u7b49\u79d1\u5b66\u8ba1\u7b97\u5305\u7ba1\u7406\u5668\u5b89\u88c5\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4ecePython\u5b98\u65b9\u7f51\u7ad9\u8fdb\u884c\u4e0b\u8f7d\u3002<\/strong><\/p>\n<\/p>\n<p><p>Python\u662f\u4e00\u79cd\u5e7f\u6cdb\u4f7f\u7528\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u4ee5\u5176\u7b80\u5355\u6613\u7528\u548c\u5f3a\u5927\u7684\u529f\u80fd\u800c\u95fb\u540d\u3002\u4e0b\u8f7dPython\u7684\u8fc7\u7a0b\u76f8\u5bf9\u7b80\u5355\uff0c\u7279\u522b\u662f\u4ece\u5b98\u65b9\u7f51\u7ad9\u83b7\u53d6\u3002\u9996\u5148\uff0c\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08python.org\uff09\uff0c\u5728\u4e3b\u9875\u4e0a\u4f60\u4f1a\u770b\u5230\u6700\u65b0\u7248\u672c\u7684Python\u4e0b\u8f7d\u94fe\u63a5\uff0c\u6839\u636e\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u9009\u62e9\u5408\u9002\u7684\u7248\u672c\u8fdb\u884c\u4e0b\u8f7d\u3002\u5b89\u88c5\u5305\u901a\u5e38\u4e3a.exe\uff08Windows\uff09\u6216.pkg\uff08MacOS\uff09\u6587\u4ef6\uff0c\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u6309\u7167\u5b89\u88c5\u5411\u5bfc\u4e00\u6b65\u6b65\u64cd\u4f5c\u5373\u53ef\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9<\/p>\n<\/p>\n<p><p>Python\u5b98\u65b9\u7f51\u7ad9\u662f\u83b7\u53d6Python\u7684\u6700\u53ef\u9760\u548c\u5b89\u5168\u7684\u9014\u5f84\u3002\u9996\u5148\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8f93\u5165\u7f51\u5740<a href=\"https:\/\/www.python.org\/%EF%BC%8C%E8%BF%9B%E5%85%A5Python%E7%9A%84%E5%AE%98%E6%96%B9%E7%BD%91%E7%AB%99%E3%80%82%E5%9C%A8%E9%A6%96%E9%A1%B5%E7%9A%84%E4%B8%8B%E8%BD%BD%E5%8C%BA%E5%9F%9F%EF%BC%8C%E4%BD%A0%E4%BC%9A%E7%9C%8B%E5%88%B0%E6%8E%A8%E8%8D%90%E7%9A%84Python%E7%89%88%E6%9C%AC%EF%BC%8C%E8%BF%99%E9%80%9A%E5%B8%B8%E6%98%AF%E6%9C%80%E6%96%B0%E7%9A%84%E7%A8%B3%E5%AE%9A%E7%89%88%E3%80%82\">https:\/\/www.python.org\/\uff0c\u8fdb\u5165Python\u7684\u5b98\u65b9\u7f51\u7ad9\u3002\u5728\u9996\u9875\u7684\u4e0b\u8f7d\u533a\u57df\uff0c\u4f60\u4f1a\u770b\u5230\u63a8\u8350\u7684Python\u7248\u672c\uff0c\u8fd9\u901a\u5e38\u662f\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u3002<\/a><\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u9009\u62e9\u5408\u9002\u7684\u7248\u672c<\/strong>\uff1aPython\u7684\u5b98\u65b9\u7f51\u7ad9\u4f1a\u6839\u636e\u4f60\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u81ea\u52a8\u63a8\u8350\u5408\u9002\u7684Python\u7248\u672c\u3002\u4f60\u53ef\u4ee5\u70b9\u51fb\u201cDownloads\u201d\u83dc\u5355\u6765\u67e5\u770b\u6240\u6709\u53ef\u7528\u7684\u7248\u672c\uff0c\u5305\u62ec\u6e90\u4ee3\u7801\u548c\u5404\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u5305\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4e0b\u8f7d\u7a33\u5b9a\u7248\u672c<\/strong>\uff1a\u5efa\u8bae\u4e0b\u8f7d\u6700\u65b0\u7684\u7a33\u5b9a\u7248\u672c\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u7248\u672c\u7ecf\u8fc7\u5145\u5206\u6d4b\u8bd5\uff0c\u5305\u542b\u6700\u65b0\u7684\u529f\u80fd\u548c\u5b89\u5168\u66f4\u65b0\u3002\u70b9\u51fb\u4e0b\u8f7d\u94fe\u63a5\uff0c\u5f00\u59cb\u4e0b\u8f7d\u5bf9\u5e94\u64cd\u4f5c\u7cfb\u7edf\u7684\u5b89\u88c5\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u4e8c\u3001\u5b89\u88c5Python<\/p>\n<\/p>\n<p><p>\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u5b89\u88c5Python\u3002\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\uff0c\u4f60\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u9009\u9879\u8bbe\u7f6e\uff0c\u4ee5\u786e\u4fdd\u5b89\u88c5\u540e\u80fd\u987a\u5229\u4f7f\u7528Python\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f<\/strong>\uff1a\u53cc\u51fb\u4e0b\u8f7d\u7684\u5b89\u88c5\u7a0b\u5e8f\u6587\u4ef6\uff0c\u542f\u52a8\u5b89\u88c5\u5411\u5bfc\u3002\u5bf9\u4e8eWindows\u7528\u6237\uff0c\u901a\u5e38\u662f.exe\u6587\u4ef6\uff0c\u800cMacOS\u7528\u6237\u5219\u662f.pkg\u6587\u4ef6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9009\u62e9\u5b89\u88c5\u9009\u9879<\/strong>\uff1a\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u4f60\u4f1a\u770b\u5230\u591a\u4e2a\u9009\u9879\u3002\u91cd\u8981\u7684\u662f\u8981\u52fe\u9009\u201cAdd Python to PATH\u201d\u9009\u9879\uff0c\u8fd9\u6837\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u76f4\u63a5\u4f7f\u7528Python\u547d\u4ee4\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u81ea\u5b9a\u4e49\u5b89\u88c5\uff08\u53ef\u9009\uff09<\/strong>\uff1a\u5982\u679c\u4f60\u6709\u7279\u5b9a\u7684\u9700\u6c42\uff0c\u4f8b\u5982\u66f4\u6539\u5b89\u88c5\u8def\u5f84\u6216\u9009\u62e9\u5b89\u88c5\u7ec4\u4ef6\uff0c\u53ef\u4ee5\u9009\u62e9\u201cCustomize installation\u201d\u9009\u9879\uff0c\u5e76\u6839\u636e\u9700\u8981\u8fdb\u884c\u914d\u7f6e\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b8c\u6210\u5b89\u88c5<\/strong>\uff1a\u6309\u7167\u5b89\u88c5\u5411\u5bfc\u7684\u63d0\u793a\u4e00\u6b65\u6b65\u8fdb\u884c\uff0c\u76f4\u5230\u5b89\u88c5\u5b8c\u6210\u3002\u5b89\u88c5\u6210\u529f\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165<code>python --version<\/code>\u6765\u9a8c\u8bc1Python\u662f\u5426\u6b63\u786e\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u4e09\u3001\u914d\u7f6ePython\u73af\u5883<\/p>\n<\/p>\n<p><p>\u5b89\u88c5Python\u540e\uff0c\u5efa\u8bae\u8fdb\u884c\u4e00\u4e9b\u73af\u5883\u914d\u7f6e\uff0c\u4ee5\u786e\u4fdd\u5f00\u53d1\u7684\u987a\u5229\u8fdb\u884c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u914d\u7f6e\u6b65\u9aa4\uff1a<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/strong>\uff1a\u5982\u679c\u5728\u5b89\u88c5\u65f6\u6ca1\u6709\u52fe\u9009\u201cAdd Python to PATH\u201d\uff0c\u9700\u8981\u624b\u52a8\u5c06Python\u7684\u5b89\u88c5\u8def\u5f84\u6dfb\u52a0\u5230\u7cfb\u7edf\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u8fd9\u4e00\u6b65\u5bf9\u4e8eWindows\u7528\u6237\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5pip<\/strong>\uff1apip\u662fPython\u7684\u5305\u7ba1\u7406\u5de5\u5177\uff0c\u901a\u5e38\u968fPython\u4e00\u8d77\u5b89\u88c5\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7<code>pip --version<\/code>\u6765\u9a8c\u8bc1\u662f\u5426\u5b89\u88c5\u6210\u529f\u3002\u5982\u679c\u672a\u5b89\u88c5\uff0c\u53ef\u4ee5\u53c2\u8003\u5b98\u65b9\u7f51\u7ad9\u7684\u6307\u5bfc\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u865a\u62df\u73af\u5883\u5de5\u5177<\/strong>\uff1a\u4e3a\u4e0d\u540c\u7684\u9879\u76ee\u521b\u5efa\u72ec\u7acb\u7684Python\u73af\u5883\uff0c\u53ef\u4ee5\u4f7f\u7528<code>venv<\/code>\u6216<code>virtualenv<\/code>\u5de5\u5177\u3002\u901a\u8fc7\u521b\u5efa\u865a\u62df\u73af\u5883\uff0c\u53ef\u4ee5\u907f\u514d\u4e0d\u540c\u9879\u76ee\u4e4b\u95f4\u7684\u4f9d\u8d56\u51b2\u7a81\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u56db\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u5b89\u88c5Python<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u4ece\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\uff0c\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u5982Homebrew\uff08MacOS\uff09\u6216APT\uff08Ubuntu\/Debian\uff09\u6765\u5b89\u88c5Python\u3002\u8fd9\u4e9b\u5de5\u5177\u63d0\u4f9b\u4e86\u7b80\u5355\u7684\u547d\u4ee4\u884c\u64cd\u4f5c\uff0c\u53ef\u4ee5\u5feb\u901f\u5b89\u88c5\u6216\u66f4\u65b0Python\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u4f7f\u7528Homebrew<\/strong>\uff1a\u5728MacOS\u4e0a\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7Homebrew\u6765\u5b89\u88c5Python\u3002\u9996\u5148\u786e\u4fddHomebrew\u5df2\u5b89\u88c5\uff0c\u7136\u540e\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165<code>brew install python<\/code>\u5373\u53ef\u3002Homebrew\u4f1a\u81ea\u52a8\u5904\u7406\u6240\u6709\u7684\u4f9d\u8d56\uff0c\u5e76\u5b89\u88c5\u6700\u65b0\u7248\u672c\u7684Python\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528APT<\/strong>\uff1a\u5728Ubuntu\u6216Debian\u7cfb\u7edf\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528APT\u5305\u7ba1\u7406\u5de5\u5177\u6765\u5b89\u88c5Python\u3002\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165<code>sudo apt update<\/code>\u66f4\u65b0\u8f6f\u4ef6\u5305\u5217\u8868\uff0c\u7136\u540e\u8f93\u5165<code>sudo apt install python3<\/code>\u5b89\u88c5Python 3\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u4e94\u3001\u901a\u8fc7Anaconda\u5b89\u88c5Python<\/p>\n<\/p>\n<p><p>Anaconda\u662f\u4e00\u4e2a\u6d41\u884c\u7684\u79d1\u5b66\u8ba1\u7b97\u548c\u6570\u636e\u5206\u6790\u5e73\u53f0\uff0c\u63d0\u4f9b\u4e86Python\u548c\u5927\u91cf\u79d1\u5b66\u8ba1\u7b97\u5e93\u3002\u901a\u8fc7Anaconda\u5b89\u88c5Python\u53ef\u4ee5\u7b80\u5316\u73af\u5883\u914d\u7f6e\uff0c\u7279\u522b\u9002\u5408\u6570\u636e\u79d1\u5b66\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u9886\u57df\u7684\u7528\u6237\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u4e0b\u8f7dAnaconda<\/strong>\uff1a\u8bbf\u95eeAnaconda\u5b98\u65b9\u7f51\u7ad9\uff08anaconda.com\uff09\uff0c\u6839\u636e\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u8f7d\u5bf9\u5e94\u7684\u5b89\u88c5\u5305\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\uff0c\u6309\u7167\u5411\u5bfc\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efaAnaconda\u73af\u5883<\/strong>\uff1a\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Anaconda Prompt\uff08Windows\uff09\u6216\u7ec8\u7aef\uff08MacOS\/Linux\uff09\u521b\u5efaPython\u73af\u5883\u3002\u4f7f\u7528<code>conda create --name myenv python=3.x<\/code>\u547d\u4ee4\u521b\u5efa\u65b0\u7684Python\u73af\u5883\uff0c\u5176\u4e2d<code>myenv<\/code>\u662f\u73af\u5883\u540d\u79f0\uff0c<code>3.x<\/code>\u662fPython\u7248\u672c\u53f7\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6fc0\u6d3b\u73af\u5883<\/strong>\uff1a\u521b\u5efa\u73af\u5883\u540e\uff0c\u4f7f\u7528<code>conda activate myenv<\/code>\u6fc0\u6d3b\u73af\u5883\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u5728\u8be5\u73af\u5883\u4e2d\u5b89\u88c5\u6240\u9700\u7684Python\u5305\u548c\u5e93\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u516d\u3001\u4f7f\u7528Python\u8fdb\u884c\u5f00\u53d1<\/p>\n<\/p>\n<p><p>\u5b89\u88c5\u548c\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u4f60\u5c31\u53ef\u4ee5\u5f00\u59cb\u4f7f\u7528Python\u8fdb\u884c\u5f00\u53d1\u3002\u65e0\u8bba\u662f\u7f16\u5199\u811a\u672c\u3001\u5f00\u53d1\u5e94\u7528\u8fd8\u662f\u8fdb\u884c\u6570\u636e\u5206\u6790\uff0cPython\u90fd\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5de5\u5177\u548c\u5e93\u6765\u652f\u6301\u4f60\u7684\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<ul>\n<li>\n<p><strong>\u9009\u62e9IDE\u6216\u7f16\u8f91\u5668<\/strong>\uff1a\u9009\u62e9\u5408\u9002\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6216\u4ee3\u7801\u7f16\u8f91\u5668\u53ef\u4ee5\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002\u5e38\u7528\u7684Python IDE\u5305\u62ecPyCharm\u3001Visual Studio Code\u3001Jupyter Notebook\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u6240\u9700\u5e93<\/strong>\uff1a\u6839\u636e\u9879\u76ee\u9700\u6c42\uff0c\u4f7f\u7528pip\u6216conda\u5b89\u88c5\u6240\u9700\u7684Python\u5e93\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>pip install numpy<\/code>\u5b89\u88c5NumPy\u5e93\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7f16\u5199\u548c\u8fd0\u884c\u4ee3\u7801<\/strong>\uff1a\u5728\u7f16\u8f91\u5668\u4e2d\u7f16\u5199Python\u4ee3\u7801\uff0c\u901a\u8fc7\u547d\u4ee4\u884c\u6216IDE\u8fd0\u884c\u4ee3\u7801\uff0c\u8c03\u8bd5\u548c\u6d4b\u8bd5\u529f\u80fd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ul>\n<p><p>\u603b\u7ed3\u6765\u8bf4\uff0c\u4e0b\u8f7d\u548c\u5b89\u88c5Python\u662f\u4e00\u4e2a\u76f8\u5bf9\u7b80\u5355\u7684\u8fc7\u7a0b\uff0c\u4e3b\u8981\u5305\u62ec\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5b89\u88c5\u5305\u3001\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u548c\u5b89\u88c5\u6240\u9700\u5e93\u7b49\u6b65\u9aa4\u3002\u65e0\u8bba\u662f\u521d\u5b66\u8005\u8fd8\u662f\u7ecf\u9a8c\u4e30\u5bcc\u7684\u5f00\u53d1\u8005\uff0c\u4e86\u89e3\u8fd9\u4e9b\u57fa\u7840\u77e5\u8bc6\u90fd\u5c06\u6709\u52a9\u4e8e\u66f4\u597d\u5730\u4f7f\u7528Python\u8fdb\u884c\u5f00\u53d1\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u627e\u5230\u767d\u8272\u7684Python\u4e0b\u8f7d\u94fe\u63a5\uff1f<\/strong><br \/>\u5728\u5bfb\u627e\u767d\u8272\u7684Python\u4e0b\u8f7d\u94fe\u63a5\u65f6\uff0c\u53ef\u4ee5\u8bbf\u95eePython\u7684\u5b98\u65b9\u7f51\u7ad9\uff08python.org\uff09\u5e76\u67e5\u770b\u6700\u65b0\u7248\u672c\u7684\u4e0b\u8f7d\u9875\u9762\u3002\u786e\u4fdd\u9009\u62e9\u9002\u5408\u60a8\u64cd\u4f5c\u7cfb\u7edf\u7684\u7248\u672c\uff0c\u5e76\u7559\u610f\u4e0d\u540c\u7684\u5b89\u88c5\u9009\u9879\uff0c\u4ee5\u786e\u4fdd\u60a8\u83b7\u5f97\u6240\u9700\u7684\u989c\u8272\u4e3b\u9898\u6216\u754c\u9762\u98ce\u683c\u3002<\/p>\n<p><strong>\u767d\u8272Python\u4e0e\u5176\u4ed6\u7248\u672c\u6709\u4ec0\u4e48\u4e0d\u540c\uff1f<\/strong><br \/>\u767d\u8272Python\u901a\u5e38\u6307\u7684\u662f\u4e00\u4e9b\u7279\u5b9a\u7684\u4e3b\u9898\u6216IDE\u914d\u7f6e\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u5b89\u88c5\u76f8\u5e94\u7684\u63d2\u4ef6\u6216\u4e3b\u9898\u6765\u5b9e\u73b0\u3002\u4e0e\u5176\u4ed6\u7248\u672c\u76f8\u6bd4\uff0c\u5b83\u7684\u754c\u9762\u66f4\u52a0\u660e\u4eae\u548c\u7b80\u6d01\uff0c\u53ef\u80fd\u4f1a\u5f71\u54cd\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u5f00\u53d1\u4f53\u9a8c\u3002\u6839\u636e\u4e2a\u4eba\u559c\u597d\u9009\u62e9\u9002\u5408\u81ea\u5df1\u7684\u4e3b\u9898\u975e\u5e38\u91cd\u8981\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u5728\u4ec0\u4e48\u5e73\u53f0\u4e0a\u4f7f\u7528\u767d\u8272Python\uff1f<\/strong><br \/>\u767d\u8272Python\u53ef\u4ee5\u5728\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u4f7f\u7528\uff0c\u5305\u62ecWindows\u3001macOS\u548cLinux\u3002\u7528\u6237\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u5f00\u53d1\u73af\u5883\u9009\u62e9\u5408\u9002\u7684IDE\uff08\u5982PyCharm\u3001VSCode\u7b49\uff09\uff0c\u5e76\u901a\u8fc7\u8bbe\u7f6e\u4e3b\u9898\u6216\u914d\u8272\u65b9\u6848\u6765\u5b9e\u73b0\u767d\u8272\u754c\u9762\u3002\u786e\u4fdd\u60a8\u7684IDE\u652f\u6301\u4e3b\u9898\u81ea\u5b9a\u4e49\uff0c\u4ee5\u4fbf\u8fbe\u5230\u9884\u671f\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e0b\u8f7d\u767d\u8272\u7684Python\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u8bbf\u95eePython\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u5982Homebrew\u6216APT\u83b7\u53d6\u3001 [&hellip;]","protected":false},"author":3,"featured_media":986855,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/986849"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=986849"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/986849\/revisions"}],"predecessor-version":[{"id":986857,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/986849\/revisions\/986857"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/986855"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=986849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=986849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=986849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}