示例地址:http://mp.weixin.qq.com/s?__biz=MjM5NTY1MjY0MQ==&mid=2650770922&idx=4&sn=ee422253bb6218464c3c0f07a4d4f76e&chksm=befe18a4898991b2a00352d7824ebf91cbc98012b78adabb00fa9b761aaf6cdd16fca9037556&mpshare=1&scene=24&srcid=1007Fxswg0HWSAZvZwfHj5cX&sharer_sharetime=1602059944502&sharer_shareid=0a5f825391600f9970c41654cc13d339#rd
使用的开发工具
PyCharm Community Edition 2020.1.1 x64
问题
1)新建项目添加工具包
添加的方式有三种:
第一种:点击工作区下面的Terminal项,输入相应的命令
如:pip install pyinstaller -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
第二种:点击菜单栏中的File->setting->project:项目名
选择projectInterpreter,如果列表中有,点击后直接安装,否则点击下面的"+",在搜索中输入模块名称
第三种:手动添加模块,这种方式目前没试过
2)read_excel 读取文件路径问题
更新了pip,不知道解决原理
3)pyinstaller 安装包总是安装失败
提示错误:error: invalid command 'bdist_wheel报错的解决
网上给的解决方案:
pip3 install wheel