Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse pydev warning - "Debugger speedups using cython not found."

I get this warning while running a python program (some basic web automation using selenium):

warning: Debugger speedups using cython not found. Run '"/usr/bin/python3.5" "/root/.p2/pool/plugins/org.python.pydev_4.5.5.201603221110/pysrc/setup_cython.py" build_ext --inplace' to build. pydev debugger: starting (pid: 3502)

How can I address this issue?

like image 935
Clone Avatar asked Apr 17 '16 18:04

Clone


4 Answers

This is as expected. Run"/usr/bin/python3.5" "/root/.p2/pool/plugins/org.python.pydev_4.5.5.201603221110/pysrc/setup_cython.py" build_ext --inplace as it asks to get the debugger accelerations.

(Nb. The error in the comment below was because this answer was missing an initial double quote.)

Ideally run it from within your virtual environment, if you use one, to make sure you run this for the correct Python version. You'll need to run this once per Python version you use.

like image 141
Fabio Zadrozny Avatar answered Nov 18 '22 18:11

Fabio Zadrozny


simply copy all the command "/usr/bin/python3.5" "/root/.p2/pool/plugins/org.python.pydev_4.5.5.201603221110/pysrc/setup_cython.py" build_ext --inplace ,

paste in a command line terminal (tipically bash shell) and press return :)

like image 38
Pistis Valentino Avatar answered Nov 18 '22 17:11

Pistis Valentino


Installing PyDev plugin in eclipse doesn't enough to run python (*.py) file. This error will come if Microsoft Visual C++ Compiler for Python 2.7 is not installed, So if you look error message in eclipse console there you can find a link how to install this python compiler, what you can simply do is,

1.Download Microsoft Visual C++ Compiler for Python 2.7 from http://aka.ms/vcpython27

2.Install downloaded package (.msi)

3.Go to command prompt in windows and change directory to "cd python27"

4.Run C:\Users\xyz\<path to you eclipse plugins> \org.python.pydev.core_6.3.2.201803171248\pysrc\setup_cython.py build_ext --inplace

5.Hit enter and wait unless compiler plugin install.

Voila! You have now installed python compiler.

Hope so It will help you. In my case it worked. Thanks!!!

like image 2
Vaibhav Suryawanshi Avatar answered Nov 18 '22 17:11

Vaibhav Suryawanshi


I faced a similar issue while using Python3.5 and Eclipse Pydev for debugging. when I tried

>"/usr/bin/python3.5" "/home/frodo/eclipse/plugins/org.python.pydev.core_6.3.3.201805051638/pysrc/setup_cython.py" build_ext --inplace

Traceback (most recent call last): File "/home/frodo/eclipse/plugins/org.python.pydev.core_6.3.3.201805051638/pysrc/setup_cython.py", line 14, in from setuptools import setup ImportError: No module named 'setuptools'

Later I fixed the issue with the below commands to install setuptools and the related python3-dev libraries using

sudo apt-get install python3-setuptools python3-dev

and that resolved the issues while executing the above command.

like image 1
Sethu S Avatar answered Nov 18 '22 17:11

Sethu S