PythonCall.jl icon indicating copy to clipboard operation
PythonCall.jl copied to clipboard

Import Python submodules crashes Julia

Open nicolamos opened this issue 1 year ago • 3 comments

I have found this issue when importing python submodules with algotom

The following results in segmentation fault:

pyimport("algotom.prep.removal")

On the contrary, importing only, say, pyimport("algotom.prep") works fine.

nicolamos avatar Apr 11 '23 15:04 nicolamos

I can't reproduce this on my machine. Do you still have this issue? Does it occur if you do the import directly from Python (you can do pkg> conda run python)?

Looking at the source that module just imports other modules and defines some functions - you should import the dependent modules in turn to figure out which module causes the error, and repeat until you find the code actually causing the problem.

cjdoris avatar May 14 '23 14:05 cjdoris

This issue has been marked as stale because it has been open for 30 days with no activity. If the issue is still relevant then please leave a comment, or else it will be closed in 7 days.

github-actions[bot] avatar Aug 24 '23 01:08 github-actions[bot]

This issue has been closed because it has been stale for 7 days. You can re-open it if it is still relevant.

github-actions[bot] avatar Aug 31 '23 01:08 github-actions[bot]