I am working at centos7.9,
here is python,c and env info:
python version: 3.6.8 (default, Jun 20 2023, 11:53:23)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
When I use PyRun load a python script. if I add scipy.stats modules in .py
the calling thread will be hanging. the .py script is like this:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# paramsIn => resultOut
# from jsonStr => j = bytearray(byte_data);sonStr
# author: fengxh Sep04,2023
import json
import binascii
import numpy as np;
import sys
# the next two lines all could make PyRun_File hang....
#from scipy.stats import kurtosis #cannot exec in python c envirmento.
#import scipy as sci
Even I havn’t use scipy function at all, the calling will be hanging…
why?