fixture
V2EX  ›  Vagrant

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

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

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

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