{"id":506,"date":"2019-07-15T18:59:38","date_gmt":"2019-07-15T16:59:38","guid":{"rendered":"http:\/\/exchangetimes.net\/?p=506"},"modified":"2019-07-15T18:59:38","modified_gmt":"2019-07-15T16:59:38","slug":"how-to-install-pyqt4-on-elementary-os-linux","status":"publish","type":"post","link":"https:\/\/exchangetimes.net\/?p=506","title":{"rendered":"How to install PyQt4 on Elementary OS (Linux)"},"content":{"rendered":"\n<p>In this video I show the steps on how to install PyQt 4 on Elementary OS which should work on all Ubuntu based Linux distributions.<\/p>\n<p>I already had PyQt 5 installed but my study guide requires PyQt 4 so I decided to install and run both on my system.<\/p>\n<p>Here&#8217;s the steps:<\/p>\n<ul>\n<li>Open a terminal and run the below to install PyQt 4<\/li>\n<li>sudo apt-get install python3-pyqt4<\/li>\n<li>sudo apt-get install libqt4-dev<\/li>\n<li>sudo apt-get install python-qt4 qt4-dev-tools python-qt4-dev pyqt4-dev-tools<\/li>\n<\/ul>\n<p>Here&#8217;s a video if that&#8217;s more to your liking:<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to install PyQt4 on Elementary OS (Linux)\" width=\"960\" height=\"540\" src=\"https:\/\/www.youtube.com\/embed\/BdDrkGNeMBs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this video I show the steps on how to install PyQt 4 on Elementary OS which should work on all Ubuntu based Linux distributions. I already had PyQt 5 installed but my study guide requires PyQt 4 so I decided to install and run both on my system. Here&#8217;s the steps: Open a terminal and run the below to install PyQt 4 sudo apt-get install python3-pyqt4 sudo apt-get install libqt4-dev sudo apt-get install python-qt4 qt4-dev-tools python-qt4-dev pyqt4-dev-tools Here&#8217;s a video if that&#8217;s more to your liking:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[498,5,19,1],"tags":[499,493,502,503,366,500,345,501,371],"class_list":["post-506","post","type-post","status-publish","format-standard","hentry","category-elementary-os","category-linux","category-ubuntu","category-uncategorized","tag-elementary","tag-elementaryos","tag-how-to-install-pyqt4-on-elementary","tag-how-to-install-pyqt4-on-linux","tag-linux","tag-pyqt","tag-pyqt4","tag-pyqt5","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=506"}],"version-history":[{"count":7,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions"}],"predecessor-version":[{"id":515,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/506\/revisions\/515"}],"wp:attachment":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}