swift lança erros de python no terminal

Estou recebendo um erro sempre que tento iniciar rapidamente relacionado ao python. Como faço para corrigir isso?

bash-3.2 $ swift --version
Apple Swift versão 4.1 (swiftlang-902.0.48 clang-902.0.37.1)
Alvo: x86_64-apple-darwin17.5.0
bash-3.2 $ swift
Traceback (última chamada mais recente):
Arquivo "", linha 1, em
Arquivo "/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", linha 52, em
importação fraca
Arquivo "/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/weakref.py", linha 14, em
da importação _weakref (
ImportError: não é possível importar o nome _remove_dead_weakref

questionAnswers(1)

yourAnswerToTheQuestion