Symbol not found: __PyCodecInfo_GetIncrementalDecoder

后端 未结 12 594
借酒劲吻你
借酒劲吻你 2020-11-30 01:18

Since updating from Homebrew Python 2.7.11 (from 2.7.10) I\'m suddenly unable to test register my package on PyPi from the PyCharm IDE console.

Running (as an \"Exte

12条回答
  •  一生所求
    2020-11-30 01:39

    This happened to me as well in MacVim. I solved it by making sure :python print(sys.path) is using system Python (e.g. /Library/Python/2.7/...)

    Since I installed MacVim via Homebrew, I just did that by:

    1. Spawn a new shell that had which python -> /usr/bin/python. For my case I needed to remove the pyenv line from my .bash_profile. If you installed Python via Homebrew you may want to brew unlink python first

    2. brew reinstall macvim

提交回复
热议问题