Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Segmentation fault when I try to run Anaconda Navigator

I have recently Installed Anaconda for Python 3.6 but it shows the error "Segmentation fault" whenever I try to run Anaconda-Navigator. I've tried just writting in the terminal Anaconda-Navigator and also going to my Anaconda3 folder and try to execute it inside bin.

The only solution that works so far is accessing the previously bin folder as root. My problem is that I need to activate TensorFlow before I run anything in my console, but that is imposible as a root user.

I've already try to upgrade both, Anaconda and Navigator and reinstall them but nothing ocurrs

Anyone here has any idea of what is happening?

like image 829
rachuism Avatar asked Apr 04 '17 23:04

rachuism


People also ask

Why can't I open Anaconda Navigator?

Anaconda navigator won't launch Sometimes you will face the issue in which the Anaconda navigator will not be able to start. In order to solve this, make sure to move into the scripts directory C:\Anaconda\Scripts. You may want to refer to the official documentation here.

What causes a python segmentation fault?

A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core . Segfaults are caused by a program trying to read or write an illegal memory location.

What does segmentation fault mean in Python?

Tip: A segmentation fault (also known as segfault) is a common condition that causes programs to crash; A segmentation fault is typically caused by a program trying to read from or write to an illegal memory location, that is, part of the memory to which the program is not supposed to have access.


2 Answers

Had the same problem with my anaconda install. It is probably related to incompatible versions of conda and anaconda navigator.

conda update --all

worked for me.

like image 93
elmaroto10 Avatar answered Sep 24 '22 06:09

elmaroto10


I had the same issue today, and I solved by running: conda upgrade anaconda

The output said:

The following packages will be DOWNGRADED due to dependency conflicts:

anaconda-navigator: 1.5.1-py36_0                                   --> 1.5.0-py36_0

after that, I launched anaconda-navigator (no segfault this time) and a window prompted me to upgrade to 1.5.1. I clicked yes, and now running anaconda-navigator 1.5.1 without segfaults on launch. Don't know what is the reason

like image 41
d.lime Avatar answered Sep 26 '22 06:09

d.lime