Closed lidanwu closed 3 years ago
Hello!
Did you use the install.sh file?
Thanks for the response. Yes. I created a new conda environment with python = 3.7 and then navigated to the JSTA folder and did
conda install --file CoreFunctions/requirements.txt
install.sh
Hmm, this may be a windows specific problem. I only tested JSTA on unix based systems. I wonder if this would help: https://stackoverflow.com/questions/1940578/windowserror-error-126-the-specified-module-could-not-be-found
In CoreFunctions/JSTA.py you could change path_to_file accordingly and see if that helps
Yes, it's an environment thing. I have created the .dll files from .c files using Visual Studio and the loading of cypes.cdll is working now. Just for future reference, the .dll files must be built with correct bit-version and C++ instead of C. The .c files also need to be modified to enable function export.
__declspec(dllexport) void __cdecl get_distances
__declspec(dllexport) int __cdecl get_raveled_index
__declspec(dllexport) void __cdecl get_sur
Hello there, When I import JSTA in jupyter notebook, I got the following error. Any suggestions on how to fix it?
I have tried to create
get_distances.so
from theget_distances.c
file usinggcc
. But I got the exact same error with.so
file in the CoreFunctions folder (path_to_file
).