Installation Installation Failed

Currently trying to install Chaco using pip in my 2.7.3 environment. When I ran pip install chaco, it does not cope with this error:

error: Command "llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I / Developer / Headers / FlatCarbon -I / Users / streetmapp / pythonDev / edx / lib / python2.7 / site-packages / numpy / core / include -I / Library / Frameworks / Python.framework / Versions / 2.7 / include / python2.7 -c build / src. macosx-10.6 -intel-2.7 / kiva / quartz / ATSFont.c -o build / temp.macosx-10.6-intel-2.7 / build / src.macosx-10.6-intel-2.7 / kiva / quartz / ATSFont.o "failed with status exit 1

After going through the usual exit, I came to the following:

C compiler: llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -O3

compilation options: '-I / Developer / Headers / FlatCarbon - I / Users / streetmapp / pythonDev / edx / lib / python2.7 / site-packages / numpy / core / include -I / Library / Frameworks / Python. framework / Versions / 2.7 / include / python2.7 -c '

llvm-gcc-4.2: build / src.macosx-10.6-intel-2.7 / kiva / quartz / ATSFont.c

build / src.macosx-10.6-intel-2.7 / kiva / quartz / ATSFont.c: 252: 21: error: ATSFont.h: there is no such file or directory

I noticed that this is due to the fault tolerant package, which is prereq Chaco, and starting the installation of the installation for the installation for delivery does the same.

Currently running on OS X Mountain Lion using python 2.7.3 within virtualenv.

Any help would be appreciated.

+4
source share
2 answers

Enable fails because it is looking for Carbon libraries that are no longer present in recent versions of the OS X SDK. Although this has been considered, it has not yet been included in the released (or tagged) version of the package.

In the meantime, the only way to get Enable, working on your system, is to clone the git repository https://github.com/enthought/enable.git and run the .py setup yourself.

+4
source

you can also do

pip install -e git+https://github.com/enthought/ enable.git@fd2e69f24dbe07eedfc8f8fbde240c15ae495677 #egg=enable-dev 

which will install and compile enthought-dev

and you can delete it later with

 pip remove enthought-dev 
+2
source

Source: https://habr.com/ru/post/1437576/


All Articles