quotesstill.blogg.se

Install anaconda for mac docs.contiuum
Install anaconda for mac docs.contiuum















environ ) + '"\n' + File "/Users/user/anaconda/lib/python3.4/os.py", line 633, in _getitem_ version_info ) + '.x!\n PYTHONPATH is currently: "' + str ( os. Reason: Anaconda is referencing that homebrew.pth file, which then goes on to include the sitecustomize.py from your earlier homebrew-installed version of Python.Īfter installing Anaconda for Python 3.4 on my Mac I get constant messages saying: Error in sitecustomize set PYTHONVERBOSE for traceback : KeyError : 'PYTHONPATH'Īs suggested by a user on another question, I used PYTHONVERBOSE = 1 conda update - allĪnd received the traceback: Traceback ( most recent call last ): File "/Users/user/anaconda/lib/python3.4/site.py", line 506, in execsitecustomizeįile "", line 2226, in _find_and_load_unlockedįile "", line 321, in _call_with_frames_removedįile "/usr/local/lib/python2.7/site-packages/sitecustomize.py", line 15, in Remove that file, and the error goes away.You'll then (likely) find a file called homebrew.pth. If it does exist, cd to that directory (whatever it is), and get a directory listing ( ls).

install anaconda for mac docs.contiuum install anaconda for mac docs.contiuum

Install anaconda for mac docs.contiuum install#

Running conda info -a | grep dirs will get your Anaconda install info and look for a line with dirs included. If you installed any version of Python using Homebrew, you likely have such a site customization. When Anaconda's Python distribution is installed, one of the things it'll check is if there are any site customizations applied to your existing Python installation. If your Mac has messages referencing /usr/local/, I'm going to go ahead and assume you've used homebrew to install something. Going to necro-answer here with more detail for folks that might hit this page after searching for the error shown… After installing Anaconda, I get constant “KeyError: 'PYTHONPATH'” messages















Install anaconda for mac docs.contiuum