conda 環境 python2.7
安裝 pyyaml: pip install pyyaml
錯誤如下:
ERROR: Command errored out with exit status 1: command: bin/python2.7 /python2.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp4If62U
估計是依賴的包沒有安裝。
解決辦法:
使用conda 安裝成功
conda install pyyaml
import yaml成功