More Related Content
Similar to Membuat virtual environment python
Similar to Membuat virtual environment python (20)
More from Junifar hidayat
More from Junifar hidayat (6)
Membuat virtual environment python
- 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
• Buka Command 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.