getnamo / TensorFlow-Unreal

TensorFlow plugin for the Unreal Engine.
Other
1.15k stars 211 forks source link

Linux support #13

Open PeterTor opened 6 years ago

PeterTor commented 6 years ago

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!

getnamo commented 6 years ago

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:

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.