以下内容为带着儿子一起学Python的实现记录,为自己保存下来,也希望对其他学习者有用!
1. 确保已经安装python,本例使用python,操作系统为:Windows 10 专业版;
2. 设置环境变量,设置两个path路径。
E:\Python27 和E:\Python27\Scripts(为安装时选择的路径)
3. 查看Python以及pip安装成功
3.1 查看Python,开始菜单->输入cmd->输入python,正常显示如下图:
3.2查看pip,在步骤3.1中按Ctrl+C退出python,输入pip,正常显示如下图:
4. 安装pyttsx,在命令行输入pip install pyttsx,安装完成如下图:
python3,在命令行输入pip3install pyttsx3
5. 安装pywin32,
Step 2: Installing pywin32
The pyttsx library/package has a dependence of pywin32,so you need to install this package also. In this using pip is not a good ideaand most circumstances the installation will fail. So the best method isinstall pywin32 is by downloading the .exe file from the pywin32 Source Forge website.(老的版本:)
New downloadscan now be found at https://github.com/