fixture
V2EX  ›  Vagrant

怎么用vagrant安装Python,是用命令行 还是安装包?

  •  
  •   fixture · Nov 6, 2012 · 5342 views
    This topic created in 4952 days ago, the information mentioned may be changed or developed.
    求安装命令或步骤。
    7 replies    1970-01-01 08:00:00 +08:00
    fixture
        1
    fixture  
    OP
       Nov 6, 2012
    @Howardmei,上次看到您回复python安装问题,我配置好vagrant环境后,不知道怎么在虚拟机上继续安装PYTHON。
    eric_q
        2
    eric_q  
       Nov 6, 2012   ❤️ 1
    这个取决于你的 vagrant 中安装的操作系统吧,如果是 ubuntu 之类,已经自带

    请感谢回复,谢谢
    fixture
        3
    fixture  
    OP
       Nov 6, 2012
    我是在windows环境下安装了vagrant ,求下一步怎么进行。感谢楼上回复。
    eric_q
        4
    eric_q  
       Nov 6, 2012
    @fixture vagrant 环境配好了的话,是否新建了一个虚拟机?
    lincank
        5
    lincank  
       Nov 6, 2012   ❤️ 1
    @fixture 不知道你已经进行到哪一步,我也在windows下试过,在命令行下
    vagrant up
    ssh -p 2222 [email protected]

    输入密码`vagrant`
    这样进去后,如果是ubuntu的话,里面已经有python了
    melaozhu
        6
    melaozhu  
       Nov 6, 2012   ❤️ 1
    在linux或Mac下面用 vagrant ssh命令连接到虚拟环境,在Windows下用putty或者xshell等ssh工具可进入虚拟环境。
    fixture
        7
    fixture  
    OP
       Nov 6, 2012
    vagrant 环境配好了是新建了个虚拟机,不知道怎么把python安装到这个虚拟环境中,我试试楼上ssh工具方法,谢谢各位的指点。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1211 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 17:37 · PVG 01:37 · LAX 10:37 · JFK 13:37
    ♥ Do have faith in what you're doing.