hduece
hduece

Reputation: 71

Python 2.7.11 make segmentation fault

Error Message

Trying to install python 2.7 locally on a shared linux machine- I've done it successfully with several versions of Python 3, but its throwing up a fuss this time. The function --generate-posix-vars is failing and throwing a segmentation fault, picture has full error message. Python3 is working fine on the machine and was installed the same way, Its only 2 thats upset. I unfortunately need 2 specifically.

When I try to run python despite the error: Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to [:<exec_prefix>] Segmentation fault (core dumped)

Upvotes: 1

Views: 1591

Answers (2)

hduece
hduece

Reputation: 71

Error gone with 2.7.18- thanks to MadScientist for suggesting it.

Upvotes: 1

jake shoemaker
jake shoemaker

Reputation: 46

When you get a segmentation fault, it means that the computer is trying to access restricted area in memory. I would check that you have enough storage.

You should include more code to give us an idea of whats going on. Or show error messages. Also try using sudo in the shell, because it gives you elevated access.

Upvotes: 1

Related Questions