首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SerpentAI安装错误

SerpentAI安装错误
EN

Stack Overflow用户
提问于 2018-08-08 18:19:52
回答 1查看 130关注 0票数 0

我一直在尝试安装SerpentAI。我在一台Mac上,并且我已经遵循了所有的步骤。我有所有的依赖项,但是当我使用关键字serpent时,它会给我这个错误。

我知道我丢失了一个配置文件,但我不知道在哪里可以找到它,也不知道如何解决这个问题。

任何以serpent开头的命令都会给我这个错误。

下面是错误

代码语言:javascript
复制
    Traceback (most recent call last):
      File "/anaconda3/bin/serpent", line 11, in <module>
        load_entry_point('SerpentAI==2018.1.2', 'console_scripts',         'serpent')()
      File "/anaconda3/lib/python3.6/site-        packages/pkg_resources/__init__.py", line 480, in load_entry_point
        return get_distribution(dist).load_entry_point(group, name)
      File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2691, in load_entry_point
        return ep.load()
      File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2322, in load
        return self.resolve()
      File "/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2328, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
      File "/anaconda3/lib/python3.6/site-packages/SerpentAI-2018.1.2-py3.6.egg/serpent/serpent.py", line 11, in <module>
        from serpent.utilities import clear_terminal, display_serpent_logo, is_linux, is_macos, is_windows, is_unix, wait_for_crossbar
      File "/anaconda3/lib/python3.6/site-packages/SerpentAI-2018.1.2-py3.6.egg/serpent/utilities.py", line 8, in <module>
        from serpent.config import config
      File "/anaconda3/lib/python3.6/site-packages/SerpentAI-2018.1.2-py3.6.egg/serpent/config.py", line 18, in <module>
        raise Exception("Configuration file not found at: 'config/config.yml'...")
    Exception: Configuration file not found at: 'config/config.yml'...

所以我想我找到了问题所在,您可以克隆GitHub代码库,它将具有配置文件。然后,当您运行pip install时,它将克隆一个版本,而该版本将没有配置文件。

EN

回答 1

Stack Overflow用户

发布于 2018-11-03 21:22:17

在按照所有安装指南步骤运行serpent vi sual_debugger时,我也遇到了同样的问题。

试着运行serpent setup,它可能会解决你的问题。这对我的情况很有帮助。

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

https://stackoverflow.com/questions/51744243

复制
相关文章

相似问题

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