- Python 3.8 或更高版本
- Windows 7/10/11、macOS 10.14+、Linux (Ubuntu 18.04+)
- 至少 100MB 可用磁盘空间
pip install -r requirements.txt或者手动安装:
pip install markdown==3.5.1
pip install pygments==2.17.2
pip install networkx==3.2.1
pip install pillow==10.1.0
pip install matplotlib==3.8.2python gui.pypython build.py按提示输入 y 开始构建。
如果自动构建失败,可以使用以下命令手动构建:
Windows:
pyinstaller --name=SmartNotes --windowed --onefile --clean --noconfirm gui.pymacOS/Linux:
pyinstaller --name=SmartNotes --onefile --clean --noconfirm gui.py构建完成后,可执行文件位于 dist 目录中。
A: 确保已安装所有依赖库:
pip install markdown pygments networkx pillow matplotlibA:
- 确保PyInstaller已安装:
pip install pyinstaller - 尝试手动打包命令
- 检查Python版本是否为3.8+
A:
- 检查是否安装了所有依赖
- 尝试在命令行运行查看错误信息
- 确保Python版本兼容
程序数据存储在用户目录下:
- Windows:
C:\Users\用户名\.smart_notes - macOS:
/Users/用户名/.smart_notes - Linux:
/home/用户名/.smart_notes
- 删除程序文件
- 删除数据目录
.smart_notes - 卸载Python依赖(可选)
如遇问题,请查看:
- README.md 文档
- 项目GitHub Issues页面