{"id":763,"date":"2020-11-28T23:10:17","date_gmt":"2020-11-28T14:10:17","guid":{"rendered":"https:\/\/medicalfields.jp\/blog\/?p=763"},"modified":"2020-11-28T23:10:18","modified_gmt":"2020-11-28T14:10:18","slug":"ubuntu%e3%81%a7python3%e3%81%a7pyqt5%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%97%e3%81%9f%e3%81%84%e3%81%ae%e3%81%ab%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e3%81%a7%e3%82%8b","status":"publish","type":"post","link":"https:\/\/medicalfields.jp\/blog\/python\/ubuntu%e3%81%a7python3%e3%81%a7pyqt5%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%97%e3%81%9f%e3%81%84%e3%81%ae%e3%81%ab%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e3%81%a7%e3%82%8b\/","title":{"rendered":"Ubuntu\u3067python3\u3067pyqt5\u3092\u5b9f\u884c\u3057\u305f\u3044\u306e\u306b\u30a8\u30e9\u30fc\u304c\u3067\u308b"},"content":{"rendered":"\n<p>\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/p>\n<p>qt.qpa.plugin: Could not load the Qt platform plugin &#8220;xcb&#8221; in &#8220;&#8221; even though it was found.<br \/>This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.<\/p>\n<p>Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.<\/p>\n<p>Aborted (core dumped)<\/p>\n<p>\u00a0<\/p>\n<p>pip3 install pyqt5\u3068\u304b\u4ed6\u8272\u3005\u3050\u3050\u3063\u305f\u3089\u51fa\u3066\u304f\u308b\u3082\u306e\u3092\u8a66\u3057\u305f\u3051\u3069\u306a\u3093\u304b\u898b\u3064\u304b\u3089\u306a\u3044\u3002<\/p>\n<p>\u3053\u308c\u3001\u672c\u5f53\u306b\u5358\u7d14\u3067<\/p>\n<p>pip3 install &#8211;user pyqt5 <br \/>sudo apt-get install python3-pyqt5 <br \/>sudo apt-get install pyqt5-dev-tools<br \/>sudo apt-get install qttools5-dev-tools<\/p>\n<p>\u3067\u3044\u3051\u307e\u3057\u305f\u3002<\/p>\n<p>\u5358\u7d14\u306bapt-get install python3-pyqt5 \u304c\u5927\u4e8b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002 qt.qpa.plugin: Could not load the Qt platform plugin &#8220;xcb&#8221; in &#8220;&#8221; even thoug &hellip; <a href=\"https:\/\/medicalfields.jp\/blog\/python\/ubuntu%e3%81%a7python3%e3%81%a7pyqt5%e3%82%92%e5%ae%9f%e8%a1%8c%e3%81%97%e3%81%9f%e3%81%84%e3%81%ae%e3%81%ab%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e3%81%a7%e3%82%8b\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Ubuntu\u3067python3\u3067pyqt5\u3092\u5b9f\u884c\u3057\u305f\u3044\u306e\u306b\u30a8\u30e9\u30fc\u304c\u3067\u308b<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[15],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6kJO0-cj","_links":{"self":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/763"}],"collection":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/comments?post=763"}],"version-history":[{"count":1,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/763\/revisions"}],"predecessor-version":[{"id":764,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/763\/revisions\/764"}],"wp:attachment":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/media?parent=763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/categories?post=763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/tags?post=763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}