未能创建元数据.json金融机构

2024-05-14 22:42:11 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试修补板上的BEMOSS项目,但在安装后我被困在下面的问题上。在

2018-04-29 16:44:14,441 () volttron.platform.vip.agent.subsystems.rpc ERROR: unhandled exception in JSON-RPC method 'start_agent': 
Traceback (most recent call last):
  File "/home/linaro/Build/BEMOSS/volttron/platform/vip/agent/subsystems/rpc.py", line 168, in method
    return method(*args, **kwargs)
  File "/home/linaro/Build/BEMOSS/volttron/platform/control.py", line 137, in start_agent
    self._aip.start_agent(uuid)
  File "/home/linaro/Build/BEMOSS/volttron/platform/aip.py", line 550, in start_agent
    agent_uuid, os.path.join(self.install_dir, agent_uuid, name), name)
  File "/home/linaro/Build/BEMOSS/volttron/platform/aip.py", line 463, in _launch_agent
    metadata = pkg.metadata
  File "/home/linaro/Build/BEMOSS/volttron/platform/packages.py", line 404, in metadata
    with open(os.path.join(self.distinfo, 'metadata.json')) as file:
IOError: [Errno 2] No such file or directory: '/home/linaro/.volttron/agents/37eb5289-7f74-43b9-85fe-9037e8a00f2f/approvalhelperagent-0.1/approvalhelperagent-0.1.dist-info/metadata.json

Tags: inpybuildselfhomelinestartmethod
1条回答
网友
1楼 · 发布于 2024-05-14 22:42:11

这是由于较新版本的轮子。恢复到wheel版本0.30将解决此问题。参考https://github.com/VOLTTRON/volttron/issues/1652

请更新到最新引导.py从发展分支机构,并运行

python bootstrap.py  force

这将使用正确版本的wheel创建一个新的虚拟环境文件夹。在

相关问题 更多 >

    热门问题