python 2.7 - Why doesn't xlwings install correctly on Mac OS 10.7.5? -


here's of error message. (here more word see if can stack overflow accept question.)

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 distutils installed project (psutil) has been deprecated , removed in future version. due fact uninstalling distutils project partially uninstall project. not uninstalling psutil @ /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 psutil complete output command     psutil/_psutil_osx.c:1635: error: expected ‘)’ before ‘cfdictionarygetvalue’ error: command 'gcc' failed exit status 1  ---------------------------------------- can't roll psutil; 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 error code 1 in /private/var/folders/yr/zbxgljhx6lxb0hwn66w4t3jw0000gp/t/pip-build-a4q7fb/psutil 

you have issue there upgrading psutil, dependency of xlwings on mac. since seem using canopy, should able install xlwings usings own packages , should take care of dependencies.

other that, upgrading psutil first should enable install xlwings via pip again.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -