The memorable Qiita first post is a memo for myself.
I want to touch Docker or Ansible The road I took when I tried to build a virtual environment for the time being.
VirtualBox was originally included in my environment, so I adopted it as it is.
Download the vagrant image from the Official Site, After running and installing
$ vagrant init ubuntu/trusty64; vagrant up --provider virtualbox
Ubuntu enters.
As it is on the terminal of the mother ship
$ vagrant ssh
Log in with ssh.
Check Python immediately.
$ python -V
Python 2.7.6
$ python3 -V
Python 3.4.3
It seems that 2.x series and 3.x series are included by default, so next is pip.
$ pip
The program 'pip' is currently not installed. To run 'pip' please ask your administrator to install the package 'python-pip'
Also,
$ which pip3
Since there is no reaction, it seems that Ubuntu taken from this box It seems that pip is not included.
$ curl -kL https://bootstrap.pypa.io/get-pip.py | sudo python3
reference Introduction of Virtualenvwrapper Vagrant command list
Recommended Posts