우선 SQLAlchemy를 아래 링크에서 SQLAlchemy-1.0.9.tar.gz를 내려 받는 후에 압축을 풉니다.




pip가 사용 가능한 상태라면, 아래와 같이 install이 가능하다고 합니다.


pip install SQLAlchemy

(출처: http://docs.sqlalchemy.org/)


저는 pip가 안 깔려있는 상태이기 때문에, setup.py를 이용해서 install 하였습니다.


python setup.py install



install이 완료되고 아래와 같은 warning이 발생한다...


***************************************************************************

WARNING: The C extension could not be compiled, speedups are not enabled.

Plain-Python build succeeded.

***************************************************************************



SQLAlchemy 에 대한 간략한 설명이... 있네요...


Overview

The SQLAlchemy SQL Toolkit and Object Relational Mapper is a comprehensive set of tools for working with databases and Python. It has several distinct areas of functionality which can be used individually or combined together. Its major components are illustrated in below, with component dependencies organized into layers:

Above, the two most significant front-facing portions of SQLAlchemy are the Object Relational Mapperand the SQL Expression Language. SQL Expressions can be used independently of the ORM. When using the ORM, the SQL Expression language remains part of the public facing API as it is used within object-relational configurations and queries.


(출처: http://docs.sqlalchemy.org/)


반응형

+ Recent posts