Mac python3.7 无法安装wordcloud库

问题遇到的现象和发生背景

python3.7 安装wordcloud库报错

问题相关代码,请勿粘贴截图
运行结果及报错内容

Command errored out with exit status 1: /Users/lipeng/anaconda3/envs/EDM/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/_4/vrx2bb3x5hdgj3wj327770vc0000gp/T/pip-install-ig5aed4i/wordcloud_eb18fbae9be54e48b14b4edb220f8d98/setup.py'"'"'; file='"'"'/private/var/folders/_4/vrx2bb3x5hdgj3wj327770vc0000gp/T/pip-install-ig5aed4i/wordcloud_eb18fbae9be54e48b14b4edb220f8d98/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/_4/vrx2bb3x5hdgj3wj327770vc0000gp/T/pip-record-ma9ngc86/install-record.txt --single-version-externally-managed --compile --install-headers /Users/lipeng/anaconda3/envs/EDM/include/python3.7m/wordcloud Check the logs for full command output.

我的解答思路和尝试过的方法

1.尝试强制安装失败 python3 -m pip install wordcloud
2. pip install spleeter -i https://mirrors.aliyun.com/pypi/simple
pip install wordcloud

我想要达到的结果

你用pip3 install指令安装,pip是python2的,因为mac默认安装python2的