Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing via pip fails #10

Closed
ghost opened this issue Feb 19, 2018 · 1 comment
Closed

Installing via pip fails #10

ghost opened this issue Feb 19, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 19, 2018

  Running setup.py install for cymem ... error   
    Complete output from command /home/me/stuff/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-ls6b2vma/cymem/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-5l6ru3r9-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/me/stuff/venv/include/site/python3.6/cymem:
    running install     
    running build       
    running build_py    
    creating build      
    creating build/lib.linux-x86_64-3.6          
    creating build/lib.linux-x86_64-3.6/cymem    
    copying cymem/about.py -> build/lib.linux-x86_64-3.6/cymem                                     
    copying cymem/__init__.py -> build/lib.linux-x86_64-3.6/cymem                                  
    package init file 'cymem/tests/__init__.py' not found (or not a regular file)                  
    creating build/lib.linux-x86_64-3.6/cymem/tests                                                
    copying cymem/tests/test_import.py -> build/lib.linux-x86_64-3.6/cymem/tests                   
    copying cymem/cymem.pyx -> build/lib.linux-x86_64-3.6/cymem                                    
    copying cymem/cymem.pxd -> build/lib.linux-x86_64-3.6/cymem                                    
    copying cymem/__init__.pxd -> build/lib.linux-x86_64-3.6/cymem                                 
    running build_ext   
    building 'cymem.cymem' extension             
    creating build/temp.linux-x86_64-3.6         
    creating build/temp.linux-x86_64-3.6/cymem   
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.6-sXpGnM/python3.6-3.6.3=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -I/home/me/stuff/venv/include -I/usr/include/python3.6m -c cymem/cymem.cpp -o build/temp.linux-x86_64-3.6/cymem/cymem.o -O3 -Wno-strict-prototypes -Wno-unused-function
    x86_64-linux-gnu-gcc: error: cymem/cymem.cpp: No such file or directory                        
    x86_64-linux-gnu-gcc: fatal error: no input files                                              
    compilation terminated.                      
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1        
@ghost
Copy link
Author

ghost commented Feb 19, 2018

I just needed to pip install wheel firsrt, before installing cymem (via pip install spacy).

I'm going to close this issue, but you might consider putting wheel in the requirements file?

@ghost ghost closed this as completed Feb 19, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants