Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos SerpentAI安装错误_Macos_Artificial Intelligence - Fatal编程技术网

Macos SerpentAI安装错误

Macos SerpentAI安装错误,macos,artificial-intelligence,Macos,Artificial Intelligence,我一直在尝试安装SerpentAI。我在Mac电脑上,我已经完成了所有步骤。我有所有的依赖项,但是当我使用关键字serpent时,它会给我这个错误 我知道我丢失了一个配置文件,但我不知道在哪里找到它,也不知道如何解决这个问题 任何以蛇开始的命令都会给我这个错误 这里是错误 Traceback (most recent call last): File "/anaconda3/bin/serpent", line 11, in <module> lo

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

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

任何以蛇开始的命令都会给我这个错误

这里是错误

    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'...
回溯(最近一次呼叫最后一次):
文件“/anaconda3/bin/serpent”,第11行,在
加载入口点('SerpentAI==2018.1.2','console脚本','serpent')()
文件“/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py”,第480行,在加载入口点
返回获取分布(dist)。加载入口点(组、名称)
文件“/anaconda3/lib/python3.6/site packages/pkg_resources/_init__.py”,第2691行,加载入口点
返回ep.load()
文件“/anaconda3/lib/python3.6/site packages/pkg_resources/_init__.py”,第2322行,已加载
返回self.resolve()
文件“/anaconda3/lib/python3.6/site packages/pkg_resources/_init__.py”,第2328行,解析
module=\uuuu导入(self.module\u name,fromlist=[''\uuuu name\uuuuuuu'],级别=0)
文件“/anaconda3/lib/python3.6/site packages/SerpentAI-2018.1.2-py3.6.egg/serpent/serpent.py”,第11行,in
从serpent.utilities导入clear_terminal,显示serpent_徽标,is_linux,is_macos,is_windows,is_unix,等待_crossbar
文件“/anaconda3/lib/python3.6/site packages/SerpentAI-2018.1.2-py3.6.egg/serpent/utilities.py”,第8行
从serpent.config导入配置
文件“/anaconda3/lib/python3.6/site packages/SerpentAI-2018.1.2-py3.6.egg/serpent/config.py”,第18行
引发异常(“在以下位置未找到配置文件:'config/config.yml'…”)
异常:在“config/config.yml”中找不到配置文件。。。

所以我想我发现了问题,你可以克隆GitHub repo,它会有配置文件。然后,当您运行pip install时,它将克隆一个版本,而该版本将不包含配置文件。

在遵循所有安装指南步骤后,我尝试运行
serpent vi sual_调试器时遇到了相同的问题


尝试运行
serpent安装程序
,它可能会解决您遇到的问题。这对我的情况很有帮助。

哪个命令使你遇到了这个错误?我尝试了以蛇开头的任何命令。