how to install python distutils

前端 未结 11 1445
情深已故
情深已故 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:17

    I ran across this error on a Beaglebone Black using the standard Angstrom distribution. It is currently running Python 2.7.3, but does not include distutils. The solution for me was to install distutils. (It required su privileges.)

        su
        opkg install python-distutils
    

    After that installation, the previously erroring command ran fine.

        python setup.py build
    

提交回复
热议问题