Python 2.7 为什么';是否在Mac OS 10.7.5上正确安装xlwings?

Python 2.7 为什么';是否在Mac OS 10.7.5上正确安装xlwings?,python-2.7,osx-lion,xlwings,Python 2.7,Osx Lion,Xlwings,下面是大部分错误消息。(这里还有一些词,只是想看看a是否可以让堆栈溢出并接受我的问题。) 您在升级psutil时遇到问题,这是Mac上的xlwings依赖项。因为您似乎正在使用Canopy,所以您应该能够使用自己的插件安装xlwings,并且它应该适当地处理依赖关系 除此之外,只需先升级psutil就可以再次通过pip安装xlwings bash-3.2$ pip install xlwings Collecting xlwings Using cached xlwings-0.3.5.ta

下面是大部分错误消息。(这里还有一些词,只是想看看a是否可以让堆栈溢出并接受我的问题。)


您在升级
psutil
时遇到问题,这是Mac上的
xlwings
依赖项。因为您似乎正在使用Canopy,所以您应该能够使用自己的插件安装xlwings,并且它应该适当地处理依赖关系

除此之外,只需先升级
psutil
就可以再次通过pip安装
xlwings

bash-3.2$ pip install xlwings
Collecting xlwings
  Using cached xlwings-0.3.5.tar.gz
Installing collected packages: psutil, appscript, xlwings
  Found existing installation: psutil 0.4.1
DEPRECATION: Uninstalling a distutils installed project (psutil) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
Not uninstalling psutil at /Applications/Canopy.app/appdata/canopy-1.0.3.1262.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site-packages, outside environment /Users/schulist/Library/Enthought/Canopy_64bit/User
  Running setup.py install for psutil
Complete output from command     psutil/_psutil_osx.c:1635: error: expected ‘)’ before ‘CFDictionaryGetValue’
error: command 'gcc' failed with exit status 1

----------------------------------------
Can't roll back psutil; was not uninstalled
Command "/Users/schulist/Library/Enthought/Canopy_64bit/User/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/yr/zbxgljhx6lxb0hwn66w4t3jw0000gp/T/pip-build-a4Q7fB/psutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/yr/zbxgljhx6lxb0hwn66w4t3jw0000gp/T/pip-JDRpLz-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/schulist/Library/Enthought/Canopy_64bit/User/include/site/python2.7/psutil" failed with error code 1 in /private/var/folders/yr/zbxgljhx6lxb0hwn66w4t3jw0000gp/T/pip-build-a4Q7fB/psutil