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.
python-3.x eclipse cython pydev
add a comment |
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.
python-3.x eclipse cython pydev
add a comment |
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.
python-3.x eclipse cython pydev
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
python-3.x eclipse cython pydev
asked Nov 7 at 19:23
S Bennett
62
62
add a comment |
add a comment |
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...
add a comment |
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...
add a comment |
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...
add a comment |
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...
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...
edited Nov 9 at 11:37
answered Nov 8 at 15:34
Fabio Zadrozny
21.1k35566
21.1k35566
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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