According to this post creating semaphores in python requires read/write access to /dev/shm. Unfortunately, I'm working on an infrastructure in which this access is limited to read.
/dev/shm
Is there any possible workaround?