'Python'에 해당되는 글 2건

  1. 2011.09.16 [Python] how to install python-memcached on windows
  2. 2011.09.09 how to install Python2.7 on ubuntu
Windows2011. 9. 16. 11:29
1. download setuptools

다운받고 실행한다. 
이게 미리 깔려있지 않으면 memcached 라이브러리 설치할 때, ImportError: No module names setuptools 에러를 보게 된다. 

2. download python-memcached

다운받아서 압축을 푼다.
커맨드 창을 열고 압축을 푼 디렉토리로 찾아간다.
cmd> setup.py install
 

'Windows' 카테고리의 다른 글

[Git] Windows XP에서 Github사용하기  (0) 2011.03.06
명령 프롬프트에서 d:로 이동하기.  (2) 2010.02.25
Posted by 준피
Server-Side/Linux2011. 9. 9. 22:35
1. Download Python2.7

http://www.python.org/download/releases/2.7.2/

2. Install

# cd /usr/local/src
# tar xzfv ./Python-2.7.2.tgz
# cd ./Python-2.7.2 
#  ./configure --prefix=/usr/local/Python-2.7
# make
# make install

3. Alias : 기본적으로 python2.4 or 2.6등이 깔려있기 때문에 python PATH 변경 

# python -V
Python 2.6.4
# alias python='/usr/local/Python2.7/bin/python2.7'
# python -V
Python 2.7.2


Reference

http://www.joywang.info/?p=112
Posted by 준피