Volttron на MacOS проблема с vcfg - PullRequest
       16

Volttron на MacOS проблема с vcfg

0 голосов
/ 06 февраля 2020

При возникновении проблемы ниже при попытке запустить команду vcfg в Volttron на моей Ma c используйте iTerm. Любая помощь будет высоко ценится.

'' '

(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'

' ''

1 Ответ

0 голосов
/ 06 февраля 2020

/etc/hostname не существует на Ма c. В документации к Volttron указано, что он поддерживает только Linux операционные системы. . Похоже, вам придется использовать хост Linux (или использовать виртуализацию).

...