Print the loaded module path on both machines, the folder you've been looking at might not be the folder Python is using.
简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。
Rebuilt laptop imports the wrong FR5 bits
LinBrown0879 · 2025年4月21日 08:15 UTC
15 条回复
It isn't. Old laptop imports from a folder inside the project. New one finds an installed package.
5分Compare the function signatures there. Which copy accepts the argument your script passes?
8分Are you using the same Python environment when launching it? Our shortcut selected a different environment from the terminal, despite both opening the same script.
21分Shortcut and terminal agree on each machine. The project copy accepts the argument; installed package doesn't. Now trying to identify where that project copy came from.
13分Any version file or supplier archive left with it? Don't rename the folder final and call the mystery solved.
13分We had a working laptop become the only backup. Once you identify this copy, keep its source and setup instructions with the cell files rather than inside one person's machine.
2分Found the original archive in the handover email. It matches the project copy. The newer installed package came from whoever rebuilt the laptop.
24分Our old laptop sat under a bench with a do not update note for ages because nobody could recreate its setup. It worked until the battery failed and then we had a much worse day. Who will try your instructions on a clean machine?
14分Another technician, not me. I've documented the interpreter, imported path and archive version. Controller compatibility is recorded in the existing read-only test notes.
13分Did the clean setup run the documented check?
15分And don't change the script just to please the new package while you're reproducing the old setup, that's another job with its own things to check.
16分Clean setup imports the identified copy and gets past the argument check. Waiting for cell access for the documented read-only call. Script stayed unchanged.
11分Read-only check passed on the rebuilt laptop. Response matches what our script expects. Archive and setup notes are in the cell handover folder now, which beats the archaeological collection of SDK directories.
0分Good. Keep the import-path check in the diagnostics so the next rebuild tells you immediately which copy it found.
20分讨论已关闭
此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .