Reputation: 82
I have installed python 2.7, 3.5, Anaconda2 and Anaconda3. I cannot get spyder v3.01, 3.00, 2.3.9, or 2.3.8 to launch in any of these environments. From the command line, typing spyder
or even python spyder --reset
result in
Segmentation fault (core dumped)
Has anyone else experienced this? Is there a fix?
Upvotes: 0
Views: 1760
Reputation: 82
Okay I finally figured out the problem, which likely only affects those who have first tried to install things like spyder in their default python distribution (even if this was later "removed"). The solution was first to start a python shell and check sys.path
:
>>> import sys
>>> sys.path
Make sure all the listed paths are within your current python environment. For me, all paths included my anaconda installation path except one, which started with /home/jack/.local
. Not sure how that got in there. Removing this from the path (using sys.path.pop()
or sys.path.remove()
in python fixed the problem.
To permanently fix the problem, I simply removed the "leftovers" from previously installed python packages that were hanging around in my .local
directory. Now everything is great.
Thanks to Carlos Cordoba for the hints, and (more importantly) for spyder!
Cheers!
Upvotes: 2