首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >vcfg的MacOS问题上的Volttron

vcfg的MacOS问题上的Volttron
EN

Stack Overflow用户
提问于 2020-02-06 11:17:59
回答 1查看 39关注 0票数 0

在我的Mac电脑上使用iTerm在Volttron中运行vcfg命令时遇到了下面的问题。任何帮助都将不胜感激。

“”“

代码语言:javascript
复制
(volttron)cg@Carolyns-MacBook-Pro volttron % vcfg

Your VOLTTRON_HOME currently set to: /Users/cg/.volttron

Is this the volttron you are attempting to setup? [Y]:
Message bus set to zmq
What is the vip address? [tcp://127.0.0.1]:
What is the port for the vip address? [22916]:
Is this instance web enabled? [N]: Y
Traceback (most recent call last):
  File "/Users/cg/volttron/env/bin/vcfg", line 11, in <module>
    load_entry_point('volttron', 'console_scripts', 'vcfg')()
  File "/Users/cg/volttron/volttron/platform/config.py", line 593, in _main
    main()
  File "/Users/cg/volttron/volttron/platform/instance_setup.py", line 862, in main
    wizard()
  File "/Users/cg/volttron/volttron/platform/instance_setup.py", line 748, in wizard
    do_web_enabled_zmq(volttron_home)
  File "/Users/cg/volttron/volttron/platform/instance_setup.py", line 433, in do_web_enabled_zmq
    'https://' + get_hostname())
  File "/Users/cg/volttron/volttron/utils/__init__.py", line 27, in get_hostname
    with open('/etc/hostname') as fp:
IOError: [Errno 2] No such file or directory: '/etc/hostname'

“”“

EN

回答 1

Stack Overflow用户

发布于 2020-02-06 11:27:01

/etc/hostname在Mac上不存在。Volttron的文档表明它是only supports Linux operating systems.的。看起来您必须使用Linux主机(或使用虚拟化)。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60087224

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档