Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build win7 (64bit) python related environment module

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Win7 (64bit) python related environment module how to build, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

Includes the download, installation and configuration of Python,eclipse,jdk,pydev,pip,setuptools,beautifulsoup,pyyaml,nltk,mysqldb.

* * *

Python

Download:

Python-2.7.6.amd64.msi

Http://www.python.org/

Python 2.7.6 released

Python 2.7.6 is now available.

Http://www.python.org/download/releases/2.7.6/

Windows X86-64 MSI Installer (2.7.6) [1] (sig)

Installation

Configuration:

My computer-> Properties-> Advanced-> Environment variables-> PATH in system variables increases: C:\ Python27

Verify:

Create a file pt.py on the desktop with the content print 'hello python'

Enter the command python C:\ Users\ * *\ Desktop\ pt.py in cmd

* is the user name of the computer.

C:\ Users\ * > python C:\ Users\ *\ Desktop\ pt.py

Hello python

C:\ Users\ * * >

* * *

Eclipse:

Eclipse-java-indigo-SR2-win32-x86_64.zip

Http://www.eclipse.org/downloads/

Older Versions

Http://wiki.eclipse.org/Older_Versions_Of_Eclipse

Eclipse Indigo SR2 Packages (v 3.7.2)

Http://www.eclipse.org/downloads/packages/release/indigo/sr2

Eclipse IDE for Java Developers, (128 MB)

Downloaded 1226421 TimesDetails Windows 32-bit 64-bit

Http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-java-indigo-SR2-win32-x86_64.zip

Download eclipse-java-indigo-SR2-win32-x86_64.zip from:

* * *

Jdk:

Jdk-7u45-windows-x64.exe

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

Windows x64 125.31 MB jdk-7u45-windows-x64.exe

Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

* * *

Pydev

In order to develop python project in Eclipse.

Http://sourceforge.net/projects/pydev/files/

PyDev for Eclipse

Looking for the latest version? Download PyDev 3.2.0.zip (8.2 MB)

The version is being updated all the time. It was 3.1.0.zip a few days ago.

Download, extract, and copy the contents of the features and plugins folders to the features and plugins folders of eclipse, respectively.

If you repeat, replace.

For specific methods, please see windows xp,32 bit. Build an Eclipse+python platform in the environment.

Http://blog.sina.com.cn/s/blog_8af1069601019uaw.html

"install the python plug-in". Open eclipse to configure the directory where preference- "PyDev-" Interpreter-Python- "New python executes the exe file."

* * *

Pip

Https://pypi.python.org/pypi/pip

Download

Pip-1.4.1.tar.gz

A tool for installing and managing Python packages.

Extract it, go to the pip-1.4.1 directory in cmd, and execute python setup.py install

Error report:

ImportError: No module named setuptools

Therefore, you need to install setuptools first

* * *

Setuptools

Https://pypi.python.org/pypi/setuptools/

Setuptools 2.0.2

Click the Downloads button on the right to jump to Downloads

Scroll to the very bottom of the page to find the links.

You need to go to the bottom of the page to find the link to download.

File Type Py Version Uploaded on Size

Setuptools-2.0.2-py2.py3-none-any.whl (md5) Python Wheel 3.4 2013-12-29 527KB

Setuptools-2.0.2.tar.gz (md5) Source 2013-12-29 765KB

Download setuptools-2.0.2.tar.gz (md5)

Decompress

In cmd, go to the setuptools-2.0.2 directory and execute python setup.py install

Sign of success:

Installed c:\ python27\ lib\ site-packages\ setuptools-2.0.2-py2.7.egg

Processing dependencies for setuptools==2.0.2

Finished processing dependencies for setuptools==2.0.2

Continue to install pip

* * *

Pip

In cmd, go to the pip-1.4.1 directory and execute python setup.py install

Success Mark:

Installed c:\ python27\ lib\ site-packages\ pip-1.4.1-py2.7.egg

Processing dependencies for pip==1.4.1

Finished processing dependencies for pip==1.4.1

Add to the system environment variable Path:C:\ Python27\ Scripts

In the cmd test, input pip, output:

C:\ Users\ * * > pip

Usage:

Pip [options]

Commands:

Install Install packages.

Uninstall Uninstall packages.

Freeze Output installed packages in requirements format.

List List installed packages.

Show Show information about installed packages.

Search Search PyPI for packages.

Wheel Build wheels from your requirements.

Zip Zip individual packages.

Unzip Unzip individual packages.

Bundle Create pybundles.

Help

The answer to the question about how to build the win7 (64bit) python related environment module is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report