If it is the Windows operating system, we need to first install Easy_install, then we first install Easy_install
. Install Setuptools (easy_install):
A. If the 32-bit Windows operating system
32-bit Windows operating system, locate the corresponding EXE directly, then install it
B. If the 64-bit Windows operating system
Windows 64 is not installed under the package, you need to compile the installation itself, the process is as follows:
Download ez_setup.py
Run:
| The code is as follows |
Copy Code |
Python ez_setup.py
|
2. Then configure the environment variables:
For example My computer will be the path: d:toolspython27scripts
Add to environment variable
--eof--
After the installation is successful Easy_install we'll install SQLAlchemy for Python.
Then execute the following command
| The code is as follows |
Copy Code |
Easy_install SQLAlchemy |
The following is displayed and the installation is successful:
| The code is as follows |
Copy Code |
| D:>easy_install SQLAlchemy Searching for SQLAlchemy Reading http://pypi.python.org/simple/SQLAlchemy/ Reading http://www.sqlalchemy.org Best Match:sqlalchemy 0.8.0b2 Downloading http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.8.0 B2.tar.gz#md5=09537c7b425d0be433f7aceabbf23d68 Processing sqlalchemy-0.8.0b2.tar.gz Running sqlalchemy-0.8.0b2setup.py-q Bdist_egg--dist-dir c:usersw3appdata Localtempeasy_install-lnagt1sqlalchemy-0.8.0b2egg-dist-tmp-0flwk1 Warning:no files found matching ' *.jpg ' under directory ' Doc ' No previously-included directories found matching ' docbuildoutput ' *************************************************************************** Unable to find Vcvarsall.bat Warning:the C extension could not is compiled, speedups are not enabled. Failure information, if any, are above. Retrying the build without the C extension now. *************************************************************************** Warning:no files found matching ' *.jpg ' under directory ' Doc ' No previously-included directories found matching ' docbuildoutput ' Zip_safe flag not set; Analyzing Archive Contents ... *************************************************************************** Warning:the C extension could not is compiled, speedups are not enabled. Plain-python build succeeded. *************************************************************************** Adding SQLAlchemy 0.8.0b2 to easy-install.pth file Installed D:toolspython27libsite-packagessqlalchemy-0.8.0b2-py2.7.egg Processing dependencies for SQLAlchemy Finished processing dependencies for SQLAlchemy |
D:>
--eof--