Question about Python in Unity builds #33
|
Hello, Also, pytorch requires Python 3.x, is that version supported? Many thanks! |
Replies: 2 comments
|
The general idea for including a Python library in a build is to place the Python library in the Unfortunately, this library depends on IronPython which does not yet have support for Python 3.x. Only Python 2.x is supported at the moment. You can find the status of IronPython3 development here. |
|
Hey there, it's been more than 30 days since I posted my response. I hope I've answered your question, but if you still have more related questions, please feel free to re-open this issue or open a new one. |
The general idea for including a Python library in a build is to place the Python library in the
StreamingAssetsfolder, and then add the path to that library in the Python engine. However, that's a potential security problem (see #21).Unfortunately, this library depends on IronPython which does not yet have support for Python 3.x. Only Python 2.x is supported at the moment. You can find the status of IronPython3 development here.