Windows Python install SQLAlchemy tutorial

Source: Internet
Author: User

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--

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.