pythonanaconda

How to handle "ERROR conda.core.link:_execute_actions(337)"?


I'm trying to import a environment to my anaconda and then I get a error like this:

ERROR conda.core.link:_execute_actions(337): An error occurred while installing package 'defaults::openssl-1.0.2k-1'.

UnicodeDecodeError('ascii', '/Users/fengxinlin/google-cloud-sdk/bin:/opt/local/bin:/opt/local/sbin:/usr/local/Cellar/mongodb/2.4.9/bin:/Users/fengxinlin/anaconda2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/opt/ImageMagick/bin}\xc2\xa0', 236, 237, 'ordinal not in range(128)') Attempting to roll back.

It looks like a decoding issue, but what can I do to fix this error?


Solution

  • finally I solved this problem somehow. I completely removed anaconda2 and downloaded anaconda3, then re-import env file, I never got this error anymore.