Ren'Py不会安装python模块

Ren'Py不会安装python模块,python,pip,renpy,Python,Pip,Renpy,我正在尝试将python模块turtle安装到我的Ren'Py游戏中。但是,即使我清理缓存并下载新版本的turtle,它也不会安装: pip install --target game/python-packages turtle Collecting turtle Downloading https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b

我正在尝试将python模块turtle安装到我的Ren'Py游戏中。但是,即使我清理缓存并下载新版本的turtle,它也不会安装:

pip install --target game/python-packages turtle

Collecting turtle
  Downloading https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/np/9134zq452dj8pt6435_dqb6h0000gn/T/pip-install-lzh_pa9s/turtle/setup.py", line 40
        except ValueError, ve:
                         ^
   SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/np/9134zq452dj8pt6435_dqb6h0000gn/T/pip-install-lzh_pa9s/turtle/
除了ValueError,ve:之外的语法是Python2语法,您正在使用Python3安装模块。该模块自2009年以来没有更新过,它当然只是Python2


实际的模块turtle是标准库的一部分,您不需要安装它,它必须始终可用。

该模块多年来一直是Python标准库的一部分。你确定你需要安装任何东西吗?嗯,我认为Ren'Py使用了python的一个特殊版本。当我尝试像这样导入它时,它会返回:label start:init python:import-turtle