找不到满足UnityEngine要求的版本

时间:2017-12-20 11:54:17

标签: python python-2.7 unity3d pip window

我正在使用Python 2.7.14并且我想使用UnityEngine从Unity运行我的脚本,当我尝试使用pip安装它时:pip install UnityEngine,出现此错误:

`Could not find a version that satisfies the requirement UnityEngine (from versions: )
No matching distribution found for UnityEngine` 

我该如何解决这个问题?有人可以帮我这个吗? PS:我在Windows上工作

1 个答案:

答案 0 :(得分:1)

PyPI没有UnityEngine(即包不存在,因此无法安装pip)。

您可能需要http://forum.unity3d.com/threads/86461-Python-interpreter-in-Unityhttps://github.com/exodrifter/unity-python,但他们不是可以安装的。

相关问题