I'd like to have my environment "PATH" variable the same in both python and bash. This is not currently the case. Is python (via anaconda) installed incorrectly?
From python:
import os
os.environ["PATH"].split(os.pathsep)
['/Users/redacted/anaconda/bin',
'/Users/redacted/anaconda/condabin',
'/usr/bin',
'/bin',
'/usr/sbin',
'/sbin']
From bash (converted to list):
printenv
['/Users/redacted/anaconda/bin',
'/usr/local/bin',
'/usr/bin',
'/bin',
'/usr/sbin',
'/sbin',
'/usr/local/sbin']
Python environment PATH lacks '/usr/local/bin' and '/usr/local/sbin'. Any ideas on why this might be happening and/or how I can fix it?