我安装了pip
然后我想安装一些软件包进行测试,
好像不行?
问题是什么?
which python
/usr/bin/python
which pip
/usr/local/bin/pip
sudo easy_install pip
pip install regex
错误:
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/k0/80ltmx5x61xgnp9ld643mdr80000gn/T/pip-build-YKBgHj/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/k0/80ltmx5x61xgnp9ld643mdr80000gn/T/pip-rQ9FJX-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/k0/80ltmx5x61xgnp9ld643mdr80000gn/T/pip-build-YKBgHj/regex/