Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Installing pymakr 1.0.0b6 on Ubuntu 16.04.1 LTS

    Scheduled Pinned Locked Moved Pymakr
    15 Posts 5 Posters 4.6k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      Ralph
      last edited by

      Ok, the problem is that if Pymakr detects PyQt5 installed, something goes wrong and it doesn't start properly. You can always use another IDE to code and use FTP to upload your files to the board, but Pymakr makes it just a whole bunch easier. Your choice if you want to uninstall PyQt5 or not. You don't need to install PyQt4 manually, Pymakr should take care of that.

      I'll let you know when we solve the PyQt5 issue.

      L 1 Reply Last reply Reply Quote 0
      • J Offline
        jnc
        last edited by

        Hi Ralph
        I can't uninstall PyQT5 because it's used by other software on my machines, so i'll have to wait until Pymakr is made compatible with PyQT5. Will it also work with Python3?

        1 Reply Last reply Reply Quote 0
        • X Offline
          Xykon administrators
          last edited by

          I successfully installed pymakr on Ubuntu 16.04.1 by running:

          sudo dpkg -i pymakr_1.0.0.b6-1_all.deb
          sudo apt-get -f install
          

          Christian Ehlers

          1 Reply Last reply Reply Quote 0
          • J Offline
            jnc
            last edited by

            Hi Xykon
            I did as you suggested, both lines ran fine, but when starting pymakr:

            $ pymakr
            Python 2.7.12
            Error in sys.excepthook:
            Traceback (most recent call last):
             File "/usr/share/pymakr/modules/pymakr.py", line 145, in excepthook
               import Utilities
             File "/usr/share/pymakr/modules/Utilities/__init__.py", line 62, in <module>
               from PyQt5.Qsci import QSCINTILLA_VERSION_STR, QsciScintilla
            ImportError: No module named Qsci
            
            Original exception was:
            Traceback (most recent call last):
             File "/usr/share/pymakr/modules/pymakr.py", line 368, in <module>
               main()
             File "/usr/share/pymakr/modules/pymakr.py", line 268, in main
               if not Globals.checkBlacklistedVersions():
             File "/usr/share/pymakr/modules/Globals/__init__.py", line 110, in checkBlacklistedVersions
               from PyQt5.Qsci import QSCINTILLA_VERSION_STR
            ImportError: No module named Qsci
            
            X 1 Reply Last reply Reply Quote 1
            • X Offline
              Xykon administrators @jnc
              last edited by

              @jnc said in Installing pymakr 1.0.0b6 on Ubuntu 16.04.1 LTS:

              I did as you suggested, both lines ran fine, but when starting pymakr:

              Maybe try sudo apt-get install python-qt4?

              Christian Ehlers

              1 Reply Last reply Reply Quote 0
              • J Offline
                jnc
                last edited by

                Thanks for the hint, but all these packages are installed:

                 libqt4-designer libqt4-help libqt4-scripttools libqt4-svg libqt4-test
                  libqtassistantclient4 libqtwebkit4 python-qscintilla2 python-qt4
                ```
                1 Reply Last reply Reply Quote 0
                • L Offline
                  leogaggl @Ralph
                  last edited by

                  @Ralph Any news on the PyQT5 issues ? Still no luck with 1.0.0b7

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Ralph
                    last edited by

                    Hi @leogaggl. Not yet, but we are working on it now so it should be in the next release.

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pwest
                      last edited by

                      I've been unable to get Pymakr running on my Linux Mint box, including under a few different conda envs. Is there a list of desired installed packages under which Pymakr should run?

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        Ralph
                        last edited by

                        Hi @pwest,

                        There is not really a list, but basically all pymakr needs is sip, pyqt4 (on python 2.7) and QScintilla2. Pymakr ships with it, so that's not the issue. The problem arises when PyQt5 is already installed on your system. Pymakr detects that but can't handle it and crashes.

                        The next release will have a fix for this. Expect it beginning next week.

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          pwest @Ralph
                          last edited by

                          @Ralph said in Installing pymakr 1.0.0b6 on Ubuntu 16.04.1 LTS:

                          The next release will have a fix for this. Expect it beginning next week.

                          Did this happen? I just downloaded pymakr from https://www.pycom.io/support/supportdownloads/ and see the exact same problem...

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            Ralph
                            last edited by

                            hi @pwest, This happened in the 1.0.0.b8 release, so if it's the same problem it should be fixed. Can you post a stacktrace or screenshot of the error you are getting?

                            1 Reply Last reply Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • 1 / 1
                            • First post
                              Last post

                            Pycom on Twitter

                            Pycom