Skip to content

Instantly share code, notes, and snippets.

@chen206
Last active December 9, 2015 23:48
Show Gist options
  • Save chen206/4346222 to your computer and use it in GitHub Desktop.
Save chen206/4346222 to your computer and use it in GitHub Desktop.

Install setuptools http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools

Install pip http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip

%HOME%\pip\pip.ini (*nix: $HOME/.pip/pip.conf)

[global]
; index-url=http://pypi.tuna.tsinghua.edu.cn/simple
index-url=http://e.pypi.python.org/simple
C:\Python27\Scripts\pip install virtualenv
C:\Python27\Scripts\virtualenv --no-site-packages ENV

\path\to\ENV\Scripts\activate.bat
\path\to\ENV\Scripts\deactivate.bat
(ENV)...$ pip install -r requiremnts.txt

requiremnts.txt

tornado==2.4.1
MySQL-python==1.2.4
celery==3.0.13
python-memcached==1.48
redis==2.7.2
requests==1.2.0
rsa==3.1.1


(ENV)...$ pip install pymysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment