Skip to content

problem trying to install CodeIntel on Mac Os 10.14 through pip #9

@Ch3sh1r3-C4t

Description

@Ch3sh1r3-C4t

After I run the command sudo pip3 install -U codeintel and it finishes copying everything, I encounter the following issue:
error: command 'gcc' failed with exit status 1
The version of python I use is Python3.7 and I am using pip 18.1
The OS is Mac Os 10.14 (Mojave)
Below I have attached the complete output, which explain in a better way the issue.

`copying codeintel/catalogs/rng/xslt.rng -> build/lib.macosx-10.9-x86_64-3.7/codeintel/catalogs/rng running build_ext building 'codeintel.SilverCity._SilverCity' extension creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/silvercity creating build/temp.macosx-10.9-x86_64-3.7/silvercity/PySilverCity creating build/temp.macosx-10.9-x86_64-3.7/silvercity/PySilverCity/Src creating build/temp.macosx-10.9-x86_64-3.7/silvercity/Lib creating build/temp.macosx-10.9-x86_64-3.7/silvercity/Lib/Src creating build/temp.macosx-10.9-x86_64-3.7/scintilla creating build/temp.macosx-10.9-x86_64-3.7/scintilla/src creating build/temp.macosx-10.9-x86_64-3.7/scintilla/lexlib creating build/temp.macosx-10.9-x86_64-3.7/scintilla/lexers creating build/temp.macosx-10.9-x86_64-3.7/pcre gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -DPCRE_STATIC -DHAVE_STRERROR -DHAVE_MEMMOVE -DHAVE_BCOPY -DNEWLINE='\n' -DLINK_SIZE=2 -DMATCH_LIMIT=10000000 -DPOSIX_MALLOC_THRESHOLD=10 -DEXPORT= -Iscintilla/src -Iscintilla/lexlib -Iscintilla/lexers -Iscintilla/include -Isilvercity/PySilverCity/Src -Isilvercity/Lib/Src -Ipcre -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c silvercity/PySilverCity/Src/PyLexerModule.cxx -o build/temp.macosx-10.9-x86_64-3.7/silvercity/PySilverCity/Src/PyLexerModule.o xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-install-no4wdi5q/codeintel/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/tmp/pip-record-43zpbba6/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-install-no4wdi5q/codeintel/ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions