TensorFlow-Unreal icon indicating copy to clipboard operation
TensorFlow-Unreal copied to clipboard

Linux support

Open PeterTor opened this issue 8 years ago • 1 comments

Hi,

Hi ok, I know there is only windows support. However are there any plans to make your plugin compatible to linux?

What needs to be done in order to make in compatible? So far I failed to compile your fork of https://github.com/getnamo/UnrealEnginePython

thanks!

PeterTor avatar Oct 10 '17 09:10 PeterTor

The steps will largely be similar to https://github.com/getnamo/tensorflow-ue4/issues/11 and https://github.com/getnamo/tensorflow-ue4/issues/10.

Breaking it down we need to:

  • Compile socketio libraries (https://github.com/getnamo/socketio-client-ue4/issues/22) for linux or take out SIOJson and embedd it directly into the tensorflow plugin
  • Compile UnrealEnginePython for linux. It looks like the main repository should compile for linux (last closed issue on this was https://github.com/20tab/UnrealEnginePython/issues/223) so it's should be just debugging what is breaking on the fork.
  • Tensorflow plugin should be already platform agnostic, but we will need to white list it for linux (audio capture component won't be included, but it is currently not used).
  • Ideally include an embedded python 3.5/3.6 build for linux. The architecture of this plugin assumes embedding python, but there are ways around this to use your own python_home installation if you prefer.

Also need to update the pip pipeline to use platform agnostic commands vs windows cmd dependency (https://github.com/getnamo/UnrealEnginePython/blob/master/Content/Scripts/upycmd.py and https://github.com/getnamo/UnrealEnginePython/blob/master/Content/Scripts/upypip.py). We should be able to use the pip module directly in python which should be platform agnostic. I believe I used the cmd module originally to make it work completely in the background with feedback, but I believe the same result can be achieved with some careful work.

If you don't care about using pip however, you can use your own python installation and manually install python dependencies, then the rest should still work as expected.

getnamo avatar Oct 10 '17 13:10 getnamo