Open HaSHsss opened 2 years ago
@HaSHsss can you provide more information? In what context does the error occur?
CentOS 7 has Python 3.6, but you seem to have a non-standard install. How did you install Python? Do you recall if the pip command installed binary wheels, or did you install it using geos-devel?
can you provide more information? In what context does the error occur?
The error occurs immediately after importing the module.
from shapely.geometry import *
Now I have installed the new version 1.8.3. did not help.
CentOS 7 has Python 3.6, but you seem to have a non-standard install. How did you install Python? Do you recall if the pip command installed binary wheels, or did you install it using geos-devel?
My project is hosted I don't have permission to install or edit the web server settings in any way.
I install with SSH
pip install Shapely --user
The problem is more interesting than it seems. Because of this error, I am getting error 500 But, if I just connect to the hosting via SSH (without entering any commands), then my site starts working without errors. Right now I keep the SSH connection open 24 hours a day.
@HaSHsss I think your problem may be related to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6184. Shapely's EXCEPTION_HANDLER_FUNCTYPE
also uses ctypes CFUNCTYPE
. I don't think we can help you with this, it will take some system administration work.
@HaSHsss I think your problem may be related to https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/6184. Shapely's
EXCEPTION_HANDLER_FUNCTYPE
also uses ctypesCFUNCTYPE
. I don't think we can help you with this, it will take some system administration work.
It describes a bug with TEMPDIR which is fixed in Python 3.8 Perhaps I missed something
I encountered the same error and it was caused by full /tmp
filesystem.
CentOS Linux 7 (Core) last shapely version installed from pip
i have error