Where does cython pyximport compile?
From help(pyximport.install)
By default, compiled modules will end up in a
.pyxbld
directory in the user's home directory. Passing a different path asbuild_dir
will override this.
so pass build_dir
as an argument when you call pyximport.install
to make it use your read/write system.