title: Anaconda-Navigator app not launching in macOS Catalina
body: <p>I note that when I install Anaconda in a custom folder (within the Documents folder) running macOS Catalina the Anaconda-Navigator app does not launch. Running from Terminal the following error is shown:</p>
  
  <pre><code>open /Applications/Anaconda-Navigator.app
  LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Anaconda-Navigator.app.
  </code></pre>
  
  <p>Reviewing the Console app the following error is also shown:</p>
  
  <pre><code>Sandbox: bash(12878) System Policy: deny(1) file-read-data /Users/[user]/Documents/Python/anaconda2/bin/activate
  </code></pre>
  
  <p>Now I can successfully launch the application by running <code>anaconda-navigator</code> in Terminal. It was after some searching I realised that the new Catalina permissions will restrict access to the Documents folder where I installed anaconda.</p>
  
  <p>This I tested by looking at the first line of the code in <code>/Applications/Anaconda-Navigator.app/Contents/MacOS/run.sh</code>. This called the shell <code>#!/bin/sh</code>. I then added the <code>sh</code> binary to the Full Disk Access permission and I was able to launch the application without error.</p>
  
  <p>Now I am a bit weary of leaving <code>sh</code> with Full Disk Access so I've removed it for now. I am hoping that there will be an update to the installer for Catalina which will fix this for custom installation paths for Anaconda in the future.</p>
  
  <blockquote>
    <p>As an update to this issue, I removed and reinstalled the package to a folder outside the documents folder <code>~/Python/anaconda2</code> and then re-ran the conda init to fix the shell command:</p>
  
  <pre><code>source ~/Python/anaconda2/bin/activate
  conda init zsh
  </code></pre>
    
    <p>After this everything worked as expected.</p>
  </blockquote>