简体   繁体   English

在没有 sudo 或 wget 的情况下,以用户(本地)身份安装 python 3.7.7 的最佳方法是什么?

[英]What is the best way to install python 3.7.7 as a user (locally) without sudo or wget?

I'm trying to install python3.7.7 on a remote server (Mac OS X).我正在尝试在远程服务器(Mac OS X)上安装 python3.7.7。 However, I have no sudo privileges nor I can use wget command.但是,我没有sudo权限,也不能使用wget命令。 Would someone know the best way to install this python version and pip3 only for me as a user, locally?有人会知道在本地为我作为用户安装此 python 版本和 pip3 的最佳方法吗?

Thanks!谢谢!

Try to follow the same step written in this page .尝试按照本页中所写的相同步骤进行操作。 Remember to use the correct version with 3.7.7 instead of 2.7 (hence use this link in the wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tgz )请记住使用 3.7.7 而不是 2.7 的正确版本(因此在 wget https://www.python.org/ftp/python/3.7.7/Python-3.7.7.tgz 中使用此链接)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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