找不到满足UnityEngine要求的版本

问题描述 投票:2回答:1

我正在使用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:我在窗户上工作

python python-2.7 unity3d pip window
1个回答
1
投票

PyPI没有UnityEngine(即包不存在,所以不能安装pip)。

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

© www.soinside.com 2019 - 2024. All rights reserved.