Uninstall Cython?

Answered

Is there a way to uninstall cython debugging speedups after you've clicked the link in the debug console to install it, without completely reinstalling PyCharm?  There's currently a bug (https://youtrack.jetbrains.com/issue/PY-23793) with cython, so it would be nice to be able to install and uninstall the cython extensions as necessary.

9 comments
Comment actions Permalink

Sure, go to <your distribution>\helpers\pydev\ and find all the pydev*so binaries, then delete them.

1
Comment actions Permalink

I rather deleted the /home/ubuntu/.pycharm_helpers folder from my VM. Seems like there is a bug that causes segmentation fault in the debugger cython in recent versions of pycharm. 

0
Comment actions Permalink

I found the directory in:

/Users/<my_username>/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-C/ch-0/173.4301.16/PyCharm CE.app/Contents/helpers/pydev/

What exactly should I delete in order to disable cython debugging?

Should I remove all the files with *pydev* ?

Should I remove setup_cython.py?

 

0
Comment actions Permalink

Hello,

Could you provide files list from "/Users/<my_username>/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-C/ch-0/173.4301.16/PyCharm CE.app/Contents/helpers/pydev/" ?

 

0
Comment actions Permalink

Hi Yaroslav,

This is the file list:

 

0
Comment actions Permalink

Inside "_pydevd_bundle" should be "pydev*.so" files. Delete them.

1
Comment actions Permalink

remove the ~/.PyCharm2019.2/system/cythonExtensions folder; you'll be prompted to install the cython extensions again.. problem went away after re-installing the extensions.

Also, installed from a full tar during this process so that may have helped.

1
Comment actions Permalink

Hello, having an issue with deleting *.so files:

rm: cannot remove 'pydevd_cython_darwin_27_64.so': Read-only file system
rm: cannot remove 'pydevd_cython_darwin_35_64.cpython-35m-darwin.so': Read-only file system

I've tried:

granting permissions on files,
sudo mount / -o remount,rw

But nothing helped with this issue.

Cython extenstion broke the breakpoint functionality, they do not work anymore... That is why i need cython extensions to be uninstalled.

0
Comment actions Permalink

Please close PyCharm (and ensure it's not running by `ps -ef | grep pycharm`). Also, just in case, make sure no Java processes are left over (ps -ef | grep java).

Then try `rm -f` on .so file. If it's still not working, there's an issue with your file system or maybe some other process is holding the file?

0

Please sign in to leave a comment.