Membuat Virtual
Environment
Python 2.7 OpenERP
For Windows Users
Point of View
• Install Python 2.7
• Install Setup Tools
• Install Package VirtualEnv
• Create New Environment
• Aktifkan Virtual Environment
Install Python 2.7
• Download python dari
https://www.python.org/downloads/release/python-2710/
• Jalankan installasi seperti biasa
Install SetupTools
• Buka Command prompt
• Arahkan ke directory “c:python27”
• Jalankan command :
“C:Python27>python.exe https://bootstrap.pypa.io/ez_setup.py”
Install Package VirtualEnv
• Buka directory “C:python27scripts” menggunakan command prompt
• Jalankan perintah :
“C:Python27Scripts>easy_install.exe virtualenv”
Create New Environtment
• Buka directory “C:python27scripts” menggunakan command prompt
• Jalankan perintah :
“C:Python27Scripts>virtualenv.exe e:virtualenv_path”
• Contoh :
“C:Python27Scripts>virtualenv.exe e:virtualenvsample”
Aktifkan Virtual Environment
• Buka directory “e:virtualenvsamplescripts” menggunakan command
prompt
• Jalankan perintah “e:virtualenvsamplescripts >activate ”
• Maka Virtual Environment akan aktif.
That’s All
Thank you

Membuat virtual environment python

  • 1.
    Membuat Virtual Environment Python 2.7OpenERP For Windows Users
  • 2.
    Point of View •Install Python 2.7 • Install Setup Tools • Install Package VirtualEnv • Create New Environment • Aktifkan Virtual Environment
  • 3.
    Install Python 2.7 •Download python dari https://www.python.org/downloads/release/python-2710/ • Jalankan installasi seperti biasa
  • 4.
    Install SetupTools • BukaCommand prompt • Arahkan ke directory “c:python27” • Jalankan command : “C:Python27>python.exe https://bootstrap.pypa.io/ez_setup.py”
  • 5.
    Install Package VirtualEnv •Buka directory “C:python27scripts” menggunakan command prompt • Jalankan perintah : “C:Python27Scripts>easy_install.exe virtualenv”
  • 6.
    Create New Environtment •Buka directory “C:python27scripts” menggunakan command prompt • Jalankan perintah : “C:Python27Scripts>virtualenv.exe e:virtualenv_path” • Contoh : “C:Python27Scripts>virtualenv.exe e:virtualenvsample”
  • 7.
    Aktifkan Virtual Environment •Buka directory “e:virtualenvsamplescripts” menggunakan command prompt • Jalankan perintah “e:virtualenvsamplescripts >activate ” • Maka Virtual Environment akan aktif.
  • 8.