简体   繁体   中英

Installing Python 2.7.11 without sudo and make

I'm doing a little project and I need to install a different version of python on a box on which I don't have superuser rights. Already tried installing python to a directory for which I do have permissions, but I would still need to build it using make, which the box doesn't have installed. Any ideas?

听起来你可能想使用pyenv来安装 python

Since you can run pip , you can install a virtual environment to play in. For that, I recommend virtualenvwrapper which is installable via pip install virtualenvwrapper .

The docs on the linked site have more details on what you need to do to get it up and running.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM