how to install python distutils

前端 未结 11 1249
情深已故
情深已故 2021-01-30 02:42

I just got some space on a VPS server(running on ubuntu 8.04), and I\'m trying to install django on it. The server has python 2.5 installed, but I guess its non standard install

11条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 03:23

    If the system Python is borked (i.e. the OS packages split distutils in a python-devel package) and you can’t ask a sysadmin to install the missing piece, then you’ll have to install your own Python. It requires some header files and a compiler toolchain. If you can’t have those, try compiling a Python on an identical computer and just copying it.

提交回复
热议问题