久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='psEQA'></bdo><ul id='psEQA'></ul>
<legend id='psEQA'><style id='psEQA'><dir id='psEQA'><q id='psEQA'></q></dir></style></legend>
  • <small id='psEQA'></small><noframes id='psEQA'>

      <i id='psEQA'><tr id='psEQA'><dt id='psEQA'><q id='psEQA'><span id='psEQA'><b id='psEQA'><form id='psEQA'><ins id='psEQA'></ins><ul id='psEQA'></ul><sub id='psEQA'></sub></form><legend id='psEQA'></legend><bdo id='psEQA'><pre id='psEQA'><center id='psEQA'></center></pre></bdo></b><th id='psEQA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='psEQA'><tfoot id='psEQA'></tfoot><dl id='psEQA'><fieldset id='psEQA'></fieldset></dl></div>
    1. <tfoot id='psEQA'></tfoot>
      1. 在樹莓派上安裝 PyQt5 for Python3.6

        Install PyQt5 on Raspberry for Python3.6(在樹莓派上安裝 PyQt5 for Python3.6)
          <legend id='DrEOU'><style id='DrEOU'><dir id='DrEOU'><q id='DrEOU'></q></dir></style></legend>
              <tbody id='DrEOU'></tbody>

              <bdo id='DrEOU'></bdo><ul id='DrEOU'></ul>
              <tfoot id='DrEOU'></tfoot>

            • <i id='DrEOU'><tr id='DrEOU'><dt id='DrEOU'><q id='DrEOU'><span id='DrEOU'><b id='DrEOU'><form id='DrEOU'><ins id='DrEOU'></ins><ul id='DrEOU'></ul><sub id='DrEOU'></sub></form><legend id='DrEOU'></legend><bdo id='DrEOU'><pre id='DrEOU'><center id='DrEOU'></center></pre></bdo></b><th id='DrEOU'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DrEOU'><tfoot id='DrEOU'></tfoot><dl id='DrEOU'><fieldset id='DrEOU'></fieldset></dl></div>
              • <small id='DrEOU'></small><noframes id='DrEOU'>

                1. 本文介紹了在樹莓派上安裝 PyQt5 for Python3.6的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  由于我在較早的帖子和其他論壇中都找不到我的問題的答案,所以我想向 stackoverflow 社區尋求建議.

                  Since I found no answer for my question, neither in older posts nor in other forums, I want to ask the stackoverflow community for advice.

                  我使用的是樹莓派 3B+,版本 9.4 (lite),內核版本為 4.14.71-v7.

                  I am using a raspberry pi 3B+, version 9.4 (lite) with kernel version 4.14.71-v7.

                  我使用python3.6.我是這樣安裝的:

                  I use python3.6. I installed it as follows:

                  sudo apt-get install build-essential checkinstall
                  sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
                  
                  cd /usr/src
                  sudo wget https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz
                  sudo tar xzf Python-3.6.0.tgz
                  
                  sudo -s
                  cd Python-3.6.0
                  bash configure
                  make altinstall
                  exit
                  

                  安裝沒有任何問題,一切正常.

                  Installation was without any trouble and everything works perfectly.

                  現在我想為 python3.6 安裝 PyQt5 模塊.我通常使用

                  Now I wanted to install the PyQt5 modul for python3.6. I usually use

                  sudo python3.6 -m pip install ...
                  

                  用于安裝 python3.6 的模塊.嘗試

                  for installing a modul for python3.6. Trying

                  sudo python3.6 -m pip install pyqt5
                  

                  給我錯誤信息

                   Could not find a version that satisfies the requirement PyQt5 (from versions: )
                   No matching distribution found for PyQt5
                  

                  所以我嘗試了

                  sudo apt-get update
                  sudo apt-get install qt5-default pyqt5-dev pyqt5-dev-tools
                  

                  但它在樹莓派上安裝了 PyQt5 for python3.5(預裝).

                  But it installed PyQt5 for python3.5 (which is preinstalled) on the raspberry.

                  那么有沒有人知道如何使用或安裝 PyQt5 以供后續安裝python3.6?

                  So does anybody know how to use or install PyQt5 for the subsequently installed python3.6?

                  編輯 08.03.2019:
                  感謝 FlyingTeller.我開始從源代碼構建.我按照以下步驟操作你的鏈接.

                  Edit 08.03.2019:
                  Thanks FlyingTeller. I started to build from source. I followed the steps from your link.

                  sudo apt-get update
                  cd /usr/src
                  sudo wget https://www.riverbankcomputing.com/static/Downloads/sip/sip-4.19.14.tar.gz
                  sudo tar xzf sip-4.19.14.tar.gz
                  cd sip-4.19.14
                  sudo -s
                  python3.6 configure.py --sip-module=PyQt5.sip 
                  make
                  make install
                  
                  cd /usr/src
                  sudo wget https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5_gpl-5.12.tar.gz
                  sudo tar xzf PyQt5_gpl-5.12.tar.gz
                  cd PyQt5_gpl-5.12
                  python3.6 configure.py
                  

                  然后我收到以下錯誤

                  Error: Use the --qmake argument to explicitly specify a working Qt qmake.
                  

                  我認為我走對了,但我不明白 qmake 是什么或它是什么意思.

                  I think I am on the right way, but I do not understand what qmake is or what it means.

                  編輯 10.03.2019:
                  我可以解決最后一條錯誤消息.我安裝了

                  Edit 10.03.2019:
                  I could solve the last error message. I installed

                  sudo apt-get install qt5-default
                  

                  然后我做了與已經提到的相同的程序.現在我得到錯誤

                  Then I did the same procedure as already mentioned. Now I get the error

                  fatal error: sip.h: File or directory not found 
                  #include <sip.h>
                  

                  PyQt5 config.py 位于:/usr/src/PyQt5_gpl-5.12
                  SIP sip.h 在:/usr/src/sip-4.19.14

                  PyQt5 config.py is in: /usr/src/PyQt5_gpl-5.12
                  SIP sip.h is in: /usr/src/sip-4.19.14

                  有人有想法嗎?謝謝大家.

                  Anybody an idea? Thanks guys.

                  推薦答案

                  今天我找到了解決方案.以下步驟對我有用,沒有任何錯誤.整個過程花了將近兩個小時.

                  Today I found the solution. The steps below worked for me, without any error. The whole process took almost two hours.

                  sudo apt-get update
                  sudo apt-get install qt5-default
                  sudo apt-get install sip-dev
                  
                  cd /usr/src
                  sudo wget https://www.riverbankcomputing.com/static/Downloads/sip/sip-4.19.14.tar.gz
                  sudo tar xzf sip-4.19.14.tar.gz
                  cd sip-4.19.14
                  sudo python3.6 configure.py --sip-module PyQt5.sip
                  sudo make
                  sudo make install
                  
                  cd /usr/src
                  sudo wget https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5_gpl-5.12.tar.gz
                  sudo tar xzf PyQt5_gpl-5.12.tar.gz
                  cd PyQt5_gpl-5.12
                  sudo python3.6 configure.py
                  sudo make
                  sudo make install
                  

                  這篇關于在樹莓派上安裝 PyQt5 for Python3.6的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to bind a function to an Action from Qt menubar?(如何將函數綁定到 Qt 菜單欄中的操作?)
                  PyQt progress jumps to 100% after it starts(PyQt 啟動后進度躍升至 100%)
                  How to set yaxis tick label in a fixed position so that when i scroll left or right the yaxis tick label should be visible?(如何將 yaxis 刻度標簽設置在固定位置,以便當我向左或向右滾動時,yaxis 刻度標簽應該可見
                  `QImage` constructor has unknown keyword `data`(`QImage` 構造函數有未知關鍵字 `data`)
                  Change x-axis ticks to custom strings(將 x 軸刻度更改為自定義字符串)
                  How to show progress bar while saving file to excel in python?(如何在python中將文件保存為excel時顯示進度條?)
                    <bdo id='WwI2G'></bdo><ul id='WwI2G'></ul>

                    <small id='WwI2G'></small><noframes id='WwI2G'>

                    1. <i id='WwI2G'><tr id='WwI2G'><dt id='WwI2G'><q id='WwI2G'><span id='WwI2G'><b id='WwI2G'><form id='WwI2G'><ins id='WwI2G'></ins><ul id='WwI2G'></ul><sub id='WwI2G'></sub></form><legend id='WwI2G'></legend><bdo id='WwI2G'><pre id='WwI2G'><center id='WwI2G'></center></pre></bdo></b><th id='WwI2G'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='WwI2G'><tfoot id='WwI2G'></tfoot><dl id='WwI2G'><fieldset id='WwI2G'></fieldset></dl></div>
                      1. <legend id='WwI2G'><style id='WwI2G'><dir id='WwI2G'><q id='WwI2G'></q></dir></style></legend>
                          <tfoot id='WwI2G'></tfoot>

                            <tbody id='WwI2G'></tbody>
                            主站蜘蛛池模板: 亚洲男人天堂av | 99影视| 国产99热精品| 九九导航| 91精品久久久久久久 | 一区二区三区四区免费观看 | wwwsihu| 日本黄色激情视频 | 美美女高清毛片视频免费观看 | 在线看亚洲| 国产91综合一区在线观看 | 精品欧美乱码久久久久久 | 国产激情91久久精品导航 | 国产精品看片 | 免费一区在线观看 | 欧美一级大片 | 国产福利在线 | 正在播放国产精品 | 成人国产精品入口免费视频 | 奇米四色在线观看 | 视频在线一区二区 | 亚洲国产aⅴ成人精品无吗 综合国产在线 | 成人av一区二区三区 | 一区二区av| 玖玖国产 | 亚洲区一区二 | 天堂男人av | 天堂在线网 | 99re6热在线精品视频播放 | 精品99久久久久久 | 午夜在线小视频 | 精品在线一区 | 天天色官网 | 99九色| 欧美日韩国产一区二区三区 | 欧美亚洲一区二区三区 | 久草网址 | 成人在线观看中文字幕 | 精品国产精品国产偷麻豆 | 精品成人在线 | 亚洲欧洲综合av |