首页 > 编程语言 > 详细

python从零安装

时间:2016-03-26 14:02:05      阅读:232      评论:0      收藏:0      [点我收藏+]

1.安装python

https://www.python.org/

环境变量path添加 ;C:\Python27;C:\Python27\Lib\site-packages;C:\Python27\Scripts

2.安装easy_install

https://pypi.python.org/pypi/ez_setup

解压后tar.gz进入目录 python setup.py install

3.安装pip

https://pypi.python.org/pypi/pip

解压后tar.gz进入目录 python setup.py install

4.whl安装方法 pip install “xxxwhl”

 

1.下载wxpython,通过exe安装

http://wxpython.org/download.php

2.下载matplotlib,通过pip install “xxxwhl”安装  https://pypi.python.org/pypi/matplotlib/

http://matplotlib.org/users/installing.html

For standard Python installations you will also need to install compatible versions of setuptools, numpy, python-dateutil, pytz, pyparsing, and cycler in addition to matplotlib.

3.通过pip install pyinstaller安装py2exe

http://pythonhosted.org/PyInstaller/#using-pyinstaller

4.进入py文件目录,pyinstaller xxxpy -F 生成单一exe

 

python从零安装

原文:http://www.cnblogs.com/my8100/p/5322606.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!