pydev eclipse getting started - “debugger speedups using cython not found” then “another exception...











up vote
1
down vote

favorite












I'm going through the "getting started" on the pydev website and everything had been working as described until I got to the section on debugging found at http://www.pydev.org/manual_101_run.html. However, I am now getting the warning "debugger speedups using cython not found" followed by an error when it tries to handle that exception.



The code I'm trying to run is titled example.py:



'''
Created on Nov 7, 2018

@author: Chris
'''
if __name__ == '__main__':
print('Hello World')


When I run this without debugging mode on, it correctly prints 'Hello World' to the console. As is recommended in the getting started page, I added a breakpoint to line 7 and re-ran the code in debugging mode (by pressing F11). When I do so, I get the following console output:



warning: Debugger speedups using cython not found. Run '"C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace' to build.
pydev debugger: starting (pid: 7864)
Traceback (most recent call last):
File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 134, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
AttributeError: '_MainThread' object has no attribute 'additional_info'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1951, in <module>
main()
File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1945, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1295, in run
self.notify_thread_created(thread_id, t)
File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 662, in notify_thread_created
additional_info = set_additional_thread_info(thread)
File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 138, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 147, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 95, in _pydevd_bundle.pydevd_cython_win32_37_64.PyDBAdditionalThreadInfo.__init__
AttributeError: '_pydevd_bundle.pydevd_cython_win32_37_64.PyDBAdditionalThreadInfo' object has no attribute 'pydev_state'


The related question Eclipse pydev warning - "Debugger speedups using cython not found." recommended running the code in the first line of the warning



"C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace


When I do so, I get the following error



  File "<input>", line 1
"C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace
^
SyntaxError: invalid syntax


In case it is not obvious, I am an an utmost novice with python, eclipse, StackOverflow, and PyDev - having started in each of them this morning.










share|improve this question


























    up vote
    1
    down vote

    favorite












    I'm going through the "getting started" on the pydev website and everything had been working as described until I got to the section on debugging found at http://www.pydev.org/manual_101_run.html. However, I am now getting the warning "debugger speedups using cython not found" followed by an error when it tries to handle that exception.



    The code I'm trying to run is titled example.py:



    '''
    Created on Nov 7, 2018

    @author: Chris
    '''
    if __name__ == '__main__':
    print('Hello World')


    When I run this without debugging mode on, it correctly prints 'Hello World' to the console. As is recommended in the getting started page, I added a breakpoint to line 7 and re-ran the code in debugging mode (by pressing F11). When I do so, I get the following console output:



    warning: Debugger speedups using cython not found. Run '"C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace' to build.
    pydev debugger: starting (pid: 7864)
    Traceback (most recent call last):
    File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 134, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
    AttributeError: '_MainThread' object has no attribute 'additional_info'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1951, in <module>
    main()
    File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1945, in main
    globals = debugger.run(setup['file'], None, None, is_module)
    File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1295, in run
    self.notify_thread_created(thread_id, t)
    File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 662, in notify_thread_created
    additional_info = set_additional_thread_info(thread)
    File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 138, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
    File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 147, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
    File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 95, in _pydevd_bundle.pydevd_cython_win32_37_64.PyDBAdditionalThreadInfo.__init__
    AttributeError: '_pydevd_bundle.pydevd_cython_win32_37_64.PyDBAdditionalThreadInfo' object has no attribute 'pydev_state'


    The related question Eclipse pydev warning - "Debugger speedups using cython not found." recommended running the code in the first line of the warning



    "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace


    When I do so, I get the following error



      File "<input>", line 1
    "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace
    ^
    SyntaxError: invalid syntax


    In case it is not obvious, I am an an utmost novice with python, eclipse, StackOverflow, and PyDev - having started in each of them this morning.










    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm going through the "getting started" on the pydev website and everything had been working as described until I got to the section on debugging found at http://www.pydev.org/manual_101_run.html. However, I am now getting the warning "debugger speedups using cython not found" followed by an error when it tries to handle that exception.



      The code I'm trying to run is titled example.py:



      '''
      Created on Nov 7, 2018

      @author: Chris
      '''
      if __name__ == '__main__':
      print('Hello World')


      When I run this without debugging mode on, it correctly prints 'Hello World' to the console. As is recommended in the getting started page, I added a breakpoint to line 7 and re-ran the code in debugging mode (by pressing F11). When I do so, I get the following console output:



      warning: Debugger speedups using cython not found. Run '"C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace' to build.
      pydev debugger: starting (pid: 7864)
      Traceback (most recent call last):
      File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 134, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
      AttributeError: '_MainThread' object has no attribute 'additional_info'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1951, in <module>
      main()
      File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1945, in main
      globals = debugger.run(setup['file'], None, None, is_module)
      File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1295, in run
      self.notify_thread_created(thread_id, t)
      File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 662, in notify_thread_created
      additional_info = set_additional_thread_info(thread)
      File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 138, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
      File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 147, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
      File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 95, in _pydevd_bundle.pydevd_cython_win32_37_64.PyDBAdditionalThreadInfo.__init__
      AttributeError: '_pydevd_bundle.pydevd_cython_win32_37_64.PyDBAdditionalThreadInfo' object has no attribute 'pydev_state'


      The related question Eclipse pydev warning - "Debugger speedups using cython not found." recommended running the code in the first line of the warning



      "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace


      When I do so, I get the following error



        File "<input>", line 1
      "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace
      ^
      SyntaxError: invalid syntax


      In case it is not obvious, I am an an utmost novice with python, eclipse, StackOverflow, and PyDev - having started in each of them this morning.










      share|improve this question













      I'm going through the "getting started" on the pydev website and everything had been working as described until I got to the section on debugging found at http://www.pydev.org/manual_101_run.html. However, I am now getting the warning "debugger speedups using cython not found" followed by an error when it tries to handle that exception.



      The code I'm trying to run is titled example.py:



      '''
      Created on Nov 7, 2018

      @author: Chris
      '''
      if __name__ == '__main__':
      print('Hello World')


      When I run this without debugging mode on, it correctly prints 'Hello World' to the console. As is recommended in the getting started page, I added a breakpoint to line 7 and re-ran the code in debugging mode (by pressing F11). When I do so, I get the following console output:



      warning: Debugger speedups using cython not found. Run '"C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace' to build.
      pydev debugger: starting (pid: 7864)
      Traceback (most recent call last):
      File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 134, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
      AttributeError: '_MainThread' object has no attribute 'additional_info'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1951, in <module>
      main()
      File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1945, in main
      globals = debugger.run(setup['file'], None, None, is_module)
      File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 1295, in run
      self.notify_thread_created(thread_id, t)
      File "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcpydevd.py", line 662, in notify_thread_created
      additional_info = set_additional_thread_info(thread)
      File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 138, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
      File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 147, in _pydevd_bundle.pydevd_cython_win32_37_64.set_additional_thread_info
      File "_pydevd_bundlepydevd_cython_win32_37_64.pyx", line 95, in _pydevd_bundle.pydevd_cython_win32_37_64.PyDBAdditionalThreadInfo.__init__
      AttributeError: '_pydevd_bundle.pydevd_cython_win32_37_64.PyDBAdditionalThreadInfo' object has no attribute 'pydev_state'


      The related question Eclipse pydev warning - "Debugger speedups using cython not found." recommended running the code in the first line of the warning



      "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace


      When I do so, I get the following error



        File "<input>", line 1
      "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace
      ^
      SyntaxError: invalid syntax


      In case it is not obvious, I am an an utmost novice with python, eclipse, StackOverflow, and PyDev - having started in each of them this morning.







      python-3.x eclipse cython pydev






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 7 at 19:23









      S Bennett

      62




      62
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Regarding the issue of it not working in the first place, see: https://stackoverflow.com/a/53210935/110451 (in your case, just upgrading PyDev to 7.0.3 should fix the issue).



          Now regarding not being able to regenerate the cython accelerator modules, you should execute:



          "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace



          in your terminal (i.e.: in cmd.exe) and not as a Python module...






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53196398%2fpydev-eclipse-getting-started-debugger-speedups-using-cython-not-found-then%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Regarding the issue of it not working in the first place, see: https://stackoverflow.com/a/53210935/110451 (in your case, just upgrading PyDev to 7.0.3 should fix the issue).



            Now regarding not being able to regenerate the cython accelerator modules, you should execute:



            "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace



            in your terminal (i.e.: in cmd.exe) and not as a Python module...






            share|improve this answer



























              up vote
              0
              down vote













              Regarding the issue of it not working in the first place, see: https://stackoverflow.com/a/53210935/110451 (in your case, just upgrading PyDev to 7.0.3 should fix the issue).



              Now regarding not being able to regenerate the cython accelerator modules, you should execute:



              "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace



              in your terminal (i.e.: in cmd.exe) and not as a Python module...






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                Regarding the issue of it not working in the first place, see: https://stackoverflow.com/a/53210935/110451 (in your case, just upgrading PyDev to 7.0.3 should fix the issue).



                Now regarding not being able to regenerate the cython accelerator modules, you should execute:



                "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace



                in your terminal (i.e.: in cmd.exe) and not as a Python module...






                share|improve this answer














                Regarding the issue of it not working in the first place, see: https://stackoverflow.com/a/53210935/110451 (in your case, just upgrading PyDev to 7.0.3 should fix the issue).



                Now regarding not being able to regenerate the cython accelerator modules, you should execute:



                "C:UsersChrisAppDataLocalProgramsPythonPython37python.exe" "C:UsersChris.p2poolpluginsorg.python.pydev.core_7.0.0.201811071319pysrcsetup_cython.py" build_ext --inplace



                in your terminal (i.e.: in cmd.exe) and not as a Python module...







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 9 at 11:37

























                answered Nov 8 at 15:34









                Fabio Zadrozny

                21.1k35566




                21.1k35566






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53196398%2fpydev-eclipse-getting-started-debugger-speedups-using-cython-not-found-then%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    這個網誌中的熱門文章

                    Xamarin.form Move up view when keyboard appear

                    Post-Redirect-Get with Spring WebFlux and Thymeleaf

                    Anylogic : not able to use stopDelay()