Installing Python 2.7 without root

前端 未结 5 1076
伪装坚强ぢ
伪装坚强ぢ 2020-12-14 04:17

I tried installing Python 2.7 without root on a remote linux machine. I ran the commands

./configure prefix=/  
make install DESTDIR=/xxx/yyy/ 
5条回答
  •  被撕碎了的回忆
    2020-12-14 04:44

    You should have prefix=/xxx/yyy. With prefix=/, it tries to install the libraries to /lib/python2.7, rather than /xxx/yyy/lib/python2.7.

提交回复
热议问题