部署后编译无问题,运行提示No module named'iqpilot.models_private_src'(如图),如何解决?请大佬解惑,谢谢。 #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, this issue should be fixed shortly in release-new.
您好,我部署了您刚更新的release-new,运行仍是提示:
File "/home/ppkey/data/IQ.Pilot/openpilot/iqpilot/_proprietary_loader.py", line 158, in load_private_module
private_module = importlib.import_module(private_module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'iqpilot_private.models.helpers'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ppkey/data/IQ.Pilot/system/manager/manager.py", line 18, in
from openpilot.system.manager.process_config import managed_processes
File "/home/ppkey/data/IQ.Pilot/openpilot/system/manager/process_config.py", line 12, in
from openpilot.iqpilot.models.helpers import get_active_model_runner
File "/home/ppkey/data/IQ.Pilot/openpilot/iqpilot/models/helpers.py", line 8, in
load_private_module(name, "iqpilot_private.models.helpers")
File "/home/ppkey/data/IQ.Pilot/openpilot/iqpilot/_proprietary_loader.py", line 161, in load_private_module
private_module = _load_repo_private_source(private_module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ppkey/data/IQ.Pilot/openpilot/iqpilot/_proprietary_loader.py", line 76, in _load_repo_private_source
return importlib.import_module(fallback_module_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'iqpilot.models_private_src'
are you trying to compile on PC?
是的,我使用pc(Intel® Core™ i5-7Y54 × 4),Ubuntu 24.04.4 LTS。是不是目前还不适配pc?
你好,PC 端是支持的,但似乎 GitLab 要求输入 LFS 配置密码,而这一步本应是可以跳过的。我今晚会尝试解决这个问题。
"Hi, PC is supported but it seems GitLab is asking for an LFS configuration password which should be bypassed. I will try to do this tonight."
edit: assets are missing which is also why it is failing, need to ship linux AMD64 and darwin64 binaries.
感谢大佬,期待。。。
我也到这一步了,感谢大佬,期待。。。
看到您更新了release-new,我再次尝试,仍不能运行,显示:
Traceback (most recent call last):
File "/data/IQ.Pilot/system/manager/manager.py", line 18, in
from openpilot.system.manager.process_config import managed_processes
File "/data/IQ.Pilot/openpilot/system/manager/process_config.py", line 12, in
from openpilot.iqpilot.models.helpers import get_active_model_runner
File "/data/IQ.Pilot/openpilot/iqpilot/models/helpers.py", line 8, in
load_private_module(name, "iqpilot_private.models.helpers")
File "/data/IQ.Pilot/openpilot/iqpilot/_proprietary_loader.py", line 337, in load_private_module
_ensure_private_path(private_module_name)
File "/data/IQ.Pilot/openpilot/iqpilot/_proprietary_loader.py", line 295, in _ensure_private_path
_verify_bundle_signatures(resolved_root)
File "/data/IQ.Pilot/openpilot/iqpilot/_proprietary_loader.py", line 266, in _verify_bundle_signatures
for rel_path, sig_b64 in signatures.items():
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'items'
嗨,我昨天花了不少时间重新调整打包资源的处理方式,这个应该会在今晚的下一次版本更新中完成!
Hi, I spent a good amount of time reworking how bundled assets work yesterday, this should be completed by tonight with the next release update!
更新反馈:

我运行了您最新更新的release-new分支,仍不能正常启动。(本机运行环境可正常运行carrot pliot的cpv9-pc分支)