Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"KeyError: 'PYTHONPATH'" message when updating Anaconda packahes on Mac OS X

Each time I try to update my Anaconda (version 3.15.1) packages on my Mac (OS X 10.10.4), I get the following message:

Error in sitecustomize; set PYTHONVERBOSE for traceback: KeyError: 'PYTHONPATH'

The rest of the updating process seems to run normally, but I'd like to figure out what causes this message and how to remove it.

like image 484
Simon Garnier Avatar asked Jul 24 '15 02:07

Simon Garnier


1 Answers

Set the PYTHONVERBOSE environment variable as suggested by the error message:

PYTHONVERBOSE=1 conda update --all

That should give you a full traceback, which should tell you what file that error is coming from.

like image 151
asmeurer Avatar answered Sep 22 '22 06:09

asmeurer