You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/root/fedvision/fedvision/bin/fedvision-deploy", line 8, in
sys.exit(app())
File "/root/fedvision/fedvision/lib/python3.6/site-packages/fedvision_deploy_toolkit/_deploy.py", line 44, in deploy
_maybe_create_python_venv(machine)
File "/root/fedvision/fedvision/lib/python3.6/site-packages/fedvision_deploy_toolkit/_deploy.py", line 69, in _maybe_create_python_venv
raise RuntimeError(f"python executable {machine['python']} not valid")
KeyError: 'python'
standalone_template.yaml 文件
`
machines:
name: machine1
ip: 127.0.0.1
ssh_string: 127.0.0.1:22
base_dir: /data/projects/fedvision
python_for_venv_create: python3 # use to create venv, python3.7+ required
使用的是fedvision-deploy deploy deploy --config standalone_template.yaml 命令
报错信息如下
Traceback (most recent call last):
File "/root/fedvision/fedvision/bin/fedvision-deploy", line 8, in
sys.exit(app())
File "/root/fedvision/fedvision/lib/python3.6/site-packages/fedvision_deploy_toolkit/_deploy.py", line 44, in deploy
_maybe_create_python_venv(machine)
File "/root/fedvision/fedvision/lib/python3.6/site-packages/fedvision_deploy_toolkit/_deploy.py", line 69, in _maybe_create_python_venv
raise RuntimeError(f"python executable {machine['python']} not valid")
KeyError: 'python'
standalone_template.yaml 文件
`
machines:
ip: 127.0.0.1
ssh_string: 127.0.0.1:22
base_dir: /data/projects/fedvision
python_for_venv_create: python3 # use to create venv, python3.7+ required
coordinator start/stop only if machine provided
coordinator:
name: coordinator1
machine: machine1
port: 10000
clusters:
manager:
machine: machine1
port: 10001
workers:
machine: machine1
ports: 12000-12099
max_tasks: 10
masters:
name: master1
machine: machine1
submit_port: 10002
coordinator: coordinator1
cluster: cluster1
name: master2
machine: machine1
submit_port: 10003
coordinator: coordinator1
cluster: cluster1
name: master3
machine: machine1
submit_port: 10004
coordinator: coordinator1
cluster: cluster1
name: master4
machine: machine1
submit_port: 10005
coordinator: coordinator1
cluster: cluster1
`
The text was updated successfully, but these errors were encountered: