Closed solort closed 1 year ago
When I compile Taichi from source in conda environment, one config of cmake is '-DPYTHON_LIBRARY:PATH=C:\Users\666\Anaconda3\envs\taichi-nightly\libs\python38.lib'.But when I compile with pip in UE5, I got '-DPYTHON_LIBRARY:PATH=None'.
Then I found that threre are not 'include' and 'libs' in 'E:\UE_5.0\Engine\Binaries\ThirdParty\Python3\Win64' but in 'E:\UE_5.0\Engine\Source\ThirdParty\Python3\Win64'. So I copy folders,‘include’ and ‘libs’, from 'Source' path into 'Binaries' path, and then I succeed in compiling Taichi.
Cool!
I have compiled Taichi in UE5, but when I run
python setup.py develop
, I got a CMake Error .It seems that python libraries in UE5 can't be found with cmake config '-DPYTHON_LIBRARY:PATH=None'.