2

I'm trying to run a python file, but it doesn't allow me to, showing an error:

python3: Relink `/lib/x86_64-linux-gnu/libudev.so.1` with `/lib/x86_64-linux-gnu/librt.so.1` for IFUNC symbol `clock_gettime`
Segmentation fault (core dumped)

Seems to me that this issue is related to some python package, since other python modules run perfectly. How do I fix that?

closed as off-topic by Jeff Schaller, shirish, roaima, Romeo Ninov, telcoM May 21 '18 at 12:13

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions describing a problem that can't be reproduced and seemingly went away on its own (or went away when a typo was fixed) are off-topic as they are unlikely to help future readers." – Jeff Schaller, shirish, roaima, Romeo Ninov, telcoM
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    Copying modules files manually from other systems usually does not end well. I have a hunch you are not telling us the whole story. – Rui F Ribeiro May 18 '18 at 22:40
3

Apparently the issue was related to the opencv-python library. I tried to open a python session and import that module mannually but it produced the same error. I removed that module from pip and installed it again with apt install python3-opencv. It worked.

Not the answer you're looking for? Browse other questions tagged or ask your own question.