{"id":26787,"date":"2022-11-19T12:50:09","date_gmt":"2023-05-25T08:41:17","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/"},"modified":"2025-08-11T23:04:48","modified_gmt":"2025-08-11T15:04:48","slug":"%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/","title":{"rendered":"\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09"},"content":{"rendered":"<p>\u3010\u5f00\u59cb\u3011<br \/>\n\u7ee7\u7eed\u524d\u534a\u90e8\u5206\u3002<br \/>\n\u3010Ubuntu\u3011\u5728Ubuntu16.04\u4e0a\u5b89\u88c5Python\u73af\u5883\uff08\u524d\u534a\u90e8\u5206\uff09<\/p>\n<p>\u3010\u73af\u5883\u3011<br \/>\n\u64cd\u4f5c\u7cfb\u7edf\uff1aUbuntu 16.04<br \/>\n\u3010\u8bc4\u4ef7\u3011<br \/>\n\u6211\u4eec\u9996\u5148\u51c6\u5907\u4e86\u5b89\u88c5OpenCV\u6240\u9700\u7684\u73af\u5883\u3002<br \/>\n\u7531\u4e8e\u56fe\u50cf\u5904\u7406\u5fc5\u987b\u4f7f\u7528OpenCV\uff0c\u6240\u4ee5\u8bf7\u52a1\u5fc5\u5c1d\u8bd5\u4e00\u4e0b\u3002<\/p>\n<p>\u3010\u5b89\u88c5\u3011<br \/>\n\u8fd9\u6b21\u7684\u5b89\u88c5\u5c06\u4eceOpenCV\u5b58\u50a8\u5e93\u4e2d\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>cd ~\r\nwget -O opencv.zip https:\/\/github.com\/Itseez\/opencv\/archive\/3.3.0.zip\r\nunzip opencv.zip\r\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u5b89\u88c5OpenCV_contrib\u3002<\/p>\n<pre class=\"post-pre\"><code>cd ~\r\nwget -O opencv_contrib.zip https:\/\/github.com\/Itseez\/opencv_contrib\/archive\/3.3.0.zip\r\nunzip opencv_contrib.zip\r\n<\/code><\/pre>\n<p>Python\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u3053\u306epip\u3092\u5229\u7528\u3057\u3066\u69d8\u3005\u306aPython\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>wget https:\/\/bootstrap.pypa.io\/get-pip.py\r\nsudo python get-pip.py\r\n<\/code><\/pre>\n<p>\u3053\u3053\u304b\u3089\u306fPython\u306e\u4eee\u60f3\u74b0\u5883\u69cb\u7bc9\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>sudo pip install virtualenv virtualenvwrapper\r\nsudo rm -rf ~\/.cache\/pip\r\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001~\/.profile\u306bvirtualenv\u306e\u30d1\u30b9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>echo -e \"\\n# virtualenv and virtualenvwrapper\" &gt;&gt; ~\/.profile\r\n$ echo \"export WORKON_HOME=$HOME\/.virtualenvs\" &gt;&gt; ~\/.profile\r\n$ echo \"source \/usr\/local\/bin\/virtualenvwrapper.sh\" &gt;&gt; ~\/.profile\r\n<\/code><\/pre>\n<p>profile\u306b\u8ffd\u52a0\u3057\u305f\u30d1\u30b9\u304c\u3061\u3083\u3093\u3068\u901a\u3063\u305f\u306e\u304b\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>source ~\/.profile\r\n<\/code><\/pre>\n<p>\u6b21\u306b\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30d3\u30b8\u30e7\u30f3\u958b\u767a\u306b\u4f7f\u7528\u3059\u308bPython\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>mkvirtualenv my_env -p python2\r\nmkvirtualenv my_env -p python3\r\n<\/code><\/pre>\n<p>\u3061\u306a\u307f\u306b\u7279\u5b9a\u306ePython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u3044\u6642\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u51fa\u6765\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>mkvirtualenv my_env --python=\/usr\/bin\/python2.x\r\nmkvirtualenv my_env --python=\/usr\/bin\/python3.x\r\n<\/code><\/pre>\n<p>\u3053\u3053\u307e\u3067\u3067\u304d\u305f\u3089\u74b0\u5883\u306b\u5165\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>source ~\/.profile\r\nworkon cv\r\n<\/code><\/pre>\n<p>\u3069\u3046\u3067\u3059\u304b\uff1f\u3061\u3083\u3093\u3068\u5165\u308a\u307e\u3057\u305f\uff1f\u30e6\u30fc\u30b6\u30fc\u540d\u306e\u524d\u306b(cv)\u3053\u308c\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u30aa\u30c3\u30b1\u30fc\u3067\u3059\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u5728Python\u7684\u4f17\u591a\u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u5c06\u5b89\u88c5\u4e00\u4e2a\u51e0\u4e4e\u88ab\u8ba4\u4e3a\u662f\u9ed8\u8ba4\u9009\u62e9\u7684\u5e93\u2014\u2014NumPy\u3002<\/p>\n<pre class=\"post-pre\"><code>pip install numpy\r\n<\/code><\/pre>\n<p>\u3082\u3046\u5c11\u3057\u3084\u308c\u3070\u7d42\u308f\u308a\u3067\u3059\u3002\u9811\u5f35\u308a\u307e\u3057\u3087\u3046\uff5e\uff01\uff01(\u5b9f\u306f\u50d5\u304c\u75b2\u308c\u307e\u3057\u305f\u2026)<br \/>\n\u3067\u3082\u5143\u6c17\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306fOpenCV\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>cd ~\/opencv-3.3.0\/\r\nmkdir build\r\ncd build\r\ncmake -D CMAKE_BUILD_TYPE=RELEASE \\\r\n  -D CMAKE_INSTALL_PREFIX=\/usr\/local \\\r\n  -D INSTALL_PYTHON_EXAMPLES=ON \\\r\n  -D OPENCV_EXTRA_MODULES_PATH=~\/opencv_contrib-3.3.0\/modules \\\r\n  -D BUILD_EXAMPLES=ON ..\r\n<\/code><\/pre>\n<p>\u5f53\u8fd9\u4e2a\u8fc7\u7a0b\u7ed3\u675f\u540e\uff0c\u5c4f\u5e55\u4e0a\u5e94\u8be5\u4f1a\u663e\u793a\u6709\u5173Python2\u6216Python3\u7684\u4e00\u4e9b\u4fe1\u606f\u3002<\/p>\n<p>\u306f\u3044\uff01\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>make -j4\r\n<\/code><\/pre>\n<p>\u3053\u308c\u7d50\u69cb\u9577\u3044\u3067\u3059\u3002\u30b3\u30fc\u30d2\u30fc\u3067\u3082\u98f2\u307f\u306a\u304c\u3089\u5f85\u3061\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u6700\u5f8c\u3067\u3059\u3002\u3053\u3053\u307e\u3067\u306e\u9577\u3044\u65c5\u304a\u75b2\u308c\u3055\u307e\u3067\u3057\u305f\u3002\u3084\u3063\u3071\u74b0\u5883\u8a2d\u5b9a\u3063\u3066\u9577\u3044\u3067\u3059\u306d&#8230;\u7121\u99c4\u306a\u6642\u9593\u306b\u306f\u3057\u305f\u304f\u306a\u3044\u3067\u3059\uff01<br \/>\n\u3061\u306a\u307f\u306b\u81ea\u5206\u306e\u74b0\u5883\u306fPython3.5\u306a\u306e\u3067\u3053\u308c\u3067\u3084\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>ls -l \/usr\/local\/lib\/python3.5\/site-packages\/\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>cd \/usr\/local\/lib\/python3.5\/site-packages\/\r\nsudo mv cv2.cpython-35m-x86_64-linux-gnu.so cv2.so\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>cd ~\/.virtualenvs\/cv\/lib\/python3.5\/site-packages\/\r\nln -s \/usr\/local\/lib\/python3.5\/site-packages\/cv2.so cv2.so\r\n<\/code><\/pre>\n<p>\u672c\u5f53\u6700\u5f8c\u3067\u3059\u3002\u3061\u3083\u3093\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u306e\u304b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>source ~\/.profile \r\nworkon cv\r\npython\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"kn\">import<\/span> <span class=\"nn\">cv2<\/span>\r\n<\/code><\/pre>\n<p>\u3053\u308c\u3067OpenCV\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u30aa\u30c3\u30b1\u30fc\u3067\u3059\u3002<\/p>\n<p>\u3010\u307e\u3068\u3081\u3011<br \/>\n\u3053\u308c\u3067\u5168\u3066\u306e\u74b0\u5883\u8a2d\u5b9a\u306f\u7d42\u308f\u308a\u307e\u3057\u305f\u3002\u6b21\u304b\u3089\u306f\u753b\u50cf\u51e6\u7406\u306e\u8a18\u4e8b\u306b\u306a\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u306a\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u3042\u304f\u307e\u3067\u3082\u50d5\u306e\u52c9\u5f37\u306e\u76ee\u7684\u306a\u306e\u3067\u7686\u3055\u3093\u306b\u306f\u3064\u307e\u3089\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u4e16\u306e\u4e2d\u306b\u306f\u307e\u3060\u521d\u5fc3\u8005\u3055\u3093\u305f\u3061\u304c\u305f\u304f\u3055\u3093\u3044\u3089\u3063\u3057\u3083\u308b\u3068\u601d\u3046\u306e\u3067\u4e00\u7dd2\u306b\u9811\u5f35\u308a\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u5f00\u59cb\u3011 \u7ee7\u7eed\u524d\u534a\u90e8\u5206\u3002 \u3010Ubuntu\u3011\u5728Ubuntu16.04\u4e0a\u5b89\u88c5Python\u73af\u5883\uff08\u524d\u534a\u90e8\u5206\uff09 \u3010\u73af\u5883\u3011 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-26787","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09\u7684\u6280\u672f\u6587\u7ae0\" \/>\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.silicloud.com\/zh\/blog\/\u3010ubuntu\u3011\u5b89\u88c5python\u73af\u5883\u5728ubuntu16-04\uff08\u540e\u534a\u90e8\u5206\uff09-6\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u3010ubuntu\u3011\u5b89\u88c5python\u73af\u5883\u5728ubuntu16-04\uff08\u540e\u534a\u90e8\u5206\uff09-6\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-25T08:41:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T15:04:48+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/\",\"name\":\"\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-25T08:41:17+00:00\",\"dateModified\":\"2025-08-11T15:04:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"description\":\"\u5173\u4e8e\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09\u7684\u6280\u672f\u6587\u7ae0","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.silicloud.com\/zh\/blog\/\u3010ubuntu\u3011\u5b89\u88c5python\u73af\u5883\u5728ubuntu16-04\uff08\u540e\u534a\u90e8\u5206\uff09-6\/","og_locale":"zh_CN","og_type":"article","og_title":"\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09","og_description":"\u5173\u4e8e\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u3010ubuntu\u3011\u5b89\u88c5python\u73af\u5883\u5728ubuntu16-04\uff08\u540e\u534a\u90e8\u5206\uff09-6\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-25T08:41:17+00:00","article_modified_time":"2025-08-11T15:04:48+00:00","author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/","name":"\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-25T08:41:17+00:00","dateModified":"2025-08-11T15:04:48+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"description":"\u5173\u4e8e\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010Ubuntu\u3011\u5b89\u88c5Python\u73af\u5883\u5728Ubuntu16.04\uff08\u540e\u534a\u90e8\u5206\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90ubuntu%e3%80%91%e5%ae%89%e8%a3%85python%e7%8e%af%e5%a2%83%e5%9c%a8ubuntu16-04%ef%bc%88%e5%90%8e%e5%8d%8a%e9%83%a8%e5%88%86%ef%bc%89-6\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/26787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=26787"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/26787\/revisions"}],"predecessor-version":[{"id":71657,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/26787\/revisions\/71657"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=26787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=26787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=26787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}