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.
Please sign in to leave a comment.
Sure, go to <your distribution>\helpers\pydev\ and find all the pydev*so binaries, then delete them.
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.
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?
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/" ?
Hi Yaroslav,
This is the file list:
Inside "_pydevd_bundle" should be "pydev*.so" files. Delete them.
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.
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.
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?
PyCharm2020 If someone doesn't want to use Cython extensions for some reasons, the environment variable
PYDEVD_USE_CYTHON=NOshould be passed.Is there a way to cleanup Cython in 2022?
```
➜ JetBrains find . -name "pydev*so"
➜ JetBrains find . -name "pydev"
➜ JetBrains find . -name "_pydev"
➜ JetBrains find . -name "*pydev*"
➜ JetBrains find . -name "cythonExtensions"
➜ JetBrains find . -name "cython*"
➜ JetBrains
```
and I really not happy to push env variable to each and every test run
Remove Cython extension
macOS
Windows
Linux
I have the same problem but i have no such directory
/Users/glebmaksimov/Library/Caches/JetBrains/PyCharm2022.2/cythonExtensions
1
I don't have any "cythonExtensions" in my Windows box. Removing *.so from "_pydevd_bundle" did not help. What else can I remove?