Does anybody have any idea why this is happening? I'm trying to get a python script working on my buddies webserver using jailshell ssh. It's CentOS (I'm not sure what version probably 7.x) so it has python 2.6 on it already but being that it's jailshell all the files in the python folder are read-only so I can't even install pip. So i installed Python 2.7 in the websites home directory but for some reason ctypes won't work for 2.7, making it impossible to use. _ctypes.o doesn't even exist but there is a ctypes directory and a shit ton of other stuffs I don't understand. I also tried to manually install ctypes but I get an error saying "error: package directory 'ctypes' does not exist".
I've googled everything I can, help me /g/ you're my only hope.
I'm probably just really retarded...
Fucking god dammit heres the right image
works on my machine
>>56042967
I know it should i just need a hypothesis on why it doesn't work on mine. I'm out of ideas.
heh nice ip kid, prepare to get ddosed xD
say when i'm working between 2.7 and 3.5
if i need to install library for 2.7
pip2.7 install x
if i'm using 3.5
pip3.5 install x
try that and let me know?
>>56042978
lol dammit after all that red marking.
do it pussy nigga
>>56042998
this happens because i'm pretty sure setuptools shit needs ctypes and the newer version of pip does too i've tried updating it.
Does anyone have any idea what in the fuck?
>>56043137
sudo apt install python-setuptools python3-setuptools
>>56043954
I can't use package managers im limited to jailshell