PyCharm snap package and installation of cython speedup extension
I've installed PyCharm 2017.3 EAP on my new Xubuntu 17.10 installation and everything was fine until I've decided to install cython speedup extension.
PyCharm showed me this error: error: could not create 'build': Read-only file system
Then, I've tried to build it manually via command line:
$ sudo python3 /snap/pycharm-professional/current/helpers/pydev/setup_cython.py build_ext --inplace
and received same error message:
running build_ext
building '_pydevd_bundle.pydevd_cython' extension
creating build
error: could not create 'build': Read-only file system
I checked mounted devices and voila:
$ mount | grep snap
/var/lib/snapd/snaps/pycharm-professional_35.snap on /snap/pycharm-professional/35 type squashfs (ro,nodev,relatime)
Any suggestions how can I solve this problem? I really don't want to return to old `installing from tar archive` method. Maybe I should create a ticket in PyCharm issue tracker?
Please sign in to leave a comment.
Thank you for creating https://youtrack.jetbrains.com/issue/PY-26701.
Seems it is still not working See here
JetBrains is advertising its ToolBox App
Hello Pheanex,
This issue is on the roadmap and should be fixed in one of the next minor releases.
its May 2025. Still the same issue with PyCharm 2025.1 (Community Edition).
PyCharm 2025.1 (Community Edition)
Build #PC-251.23774.444, built on April 15, 2025
Source revision: 75830c4c8b807
Runtime version: 21.0.6+9-b895.109 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.8.0-58-generic
Ubuntu 24.04.2 LTS; glibc: 2.39
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
ide.experimental.ui=true
llm.show.ai.promotion.window.on.start=false
Non-Bundled Plugins:
com.github.copilot (1.5.43-243)
Current Desktop: ubuntu:GNOME
@... Please create a new bug report on YouTrack and provide the logs from Help | Collect Logs and Diagnostic Data
Created:
https://youtrack.jetbrains.com/issue/PY-80922/Cython-speedup-extension-install-fails-if-PyCharm-was-installed-by-snap-on-a-read-only-volume.-Ubunto-24