Closed Raylend closed 3 years ago
`cmd = "echo $LD_LIBRARY_PATH" cmdout = subprocess.check_output(cmd, shell=True)[:-1].decode('utf-8')
module = Extension( "pair_ext", sources=['processes/c_codes/GammaGammaPairProduction/gamma-gamma.cpp'], library_dirs=[cmdout], libraries=['GammaGammaPairProduction'] ) ` not working, because $LD_LIBRARY_PATH contains several paths. Fix it!
The issue has been resolved.
But I still need to do something with
#include "/home/raylend/anaconda3/include/python3.7m/Python.h"
`cmd = "echo $LD_LIBRARY_PATH" cmdout = subprocess.check_output(cmd, shell=True)[:-1].decode('utf-8')
module = Extension( "pair_ext", sources=['processes/c_codes/GammaGammaPairProduction/gamma-gamma.cpp'], library_dirs=[cmdout], libraries=['GammaGammaPairProduction'] ) ` not working, because $LD_LIBRARY_PATH contains several paths. Fix it!