1 頁 (共 1 頁)

Installation

發表於 : 週一 8月 11, 2014 7:51 pm
rusli
Django 1.6 + Python 3.x Requests 2.x << nice solution
Django 1.5 + Python 3.x Requests 1.x << not good
Django 1.5 + Python 2.x
more about Django / Python versions : http://goo.gl/XQ3x4x

MAC
Install Python
1. Download & Install Python http://www.python.org/download/
2. Install Homebrew http://brew.sh
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
3. open terminal
brew install python
brew install python3
4. pip install virtualenv

Linux
Installation procedure depends on your distribution
Debian/Ubuntu/Linux Mint use apt-get
You may need to use another tool

open terminal:
1. Install Python
sudo apt-get install python
sudo apt-get install python3

2. Install pip
sodo apt-get install python-pip

3. install virtualenv
sodu pip install virtualenv

Windows
1. Download & Install Python http://www.python.org/download/
2. Download get-pip.py file from http://www.pip-installer.org/
3. dbl click get-pip.py.
4. Start>Run cmd , type python
5. Ctrl+z exit
6. run pip "\Python33\Scripts\pip"
7. c:\path\to\Ptyhon\Scripts\pip install virtualenv