Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我写了一个脚本:
import mgrs coord = '34uft55005500' m = mgrs.MGRS() dd = m.toLatLon(coord) print(dd)
并使用以下命令将其转换为单个 exe 文件
pyinstaller --onefile scratch.py
这导致没有错误。但是,当我在 cmd 中运行脚本时,它说它无法加载“libmgrs.cp39-win_amd64.pyd”。
如何加载/导入丢失的文件?