我想为Volttron构建Analytics Historian(OpenEIS)。在python3 bootstrap.py
步骤中的第二个文档之后:
http://volttron.readthedocs.io/en/4.1/core_services/historians/Analyitics-Historian.html#analytics-historian
OpenEIS用户指南: https://github.com/VOLTTRON/openeis/raw/2.x/guides/PNNL-24065%20-%20OpenEIS%20Users%20Guide.pdf
我收到以下错误:
Traceback (most recent call last):
File "bootstrap.py", line 223, in <module>
main()
File "bootstrap.py", line 219, in main
stage1()
File "bootstrap.py", line 183, in stage1
builder.create(directory)
File "/home/USER-NAME/anaconda3/lib/python3.6/venv/__init__.py", line 69, in create
self.setup_scripts(context)
File "/home/USER-NAME/anaconda3/lib/python3.6/venv/__init__.py", line 260, in setup_scripts
self.install_scripts(context, path)
File "/home/USER-NAME/anaconda3/lib/python3.6/venv/__init__.py", line 326, in install_scripts
data = self.replace_variables(data, context)
File "/home/USER-NAME/anaconda3/lib/python3.6/venv/__init__.py", line 285, in replace_variables
text = text.replace('__VENV_PROMPT__', context.prompt)
TypeError: replace() argument 2 must be str, not None
我在激活volttron后运行以下目录中的命令,创建目录并在此路径中添加(openeis-master.zip-从https://github.com/VOLTTRON/openeis下载)内容:
(volttron)USER-NAME@USER-NAME:~/openeis-1.x$ python3 bootstrap.py
我的操作系统是Ubuntu:16.04 LTS
我提出了一个GitHub问题:here
谢谢,