Skip to content

Installing centurion #1

Description

@hdzierz

When installing centurion into a miniconda environment I get the following error (first occurrence):

Method: pip install centurion in miniconda2
Platform: MacOSX and CentOS7
Minconda2
Python 3.6.1 and Python 2.7

Cannot find write.c. write.c is there but probably include path not working.

C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/cfphxd/anaconda/envs/cfphxd_centurion/include -arch x86_64 -I/Users/cfphxd/anaconda/envs/cfphxd_centurion/include -arch x86_64
    
    creating build/temp.macosx-10.7-x86_64-3.6
    creating build/temp.macosx-10.7-x86_64-3.6/centurion
    creating build/temp.macosx-10.7-x86_64-3.6/centurion/externals
    creating build/temp.macosx-10.7-x86_64-3.6/centurion/externals/iced
    creating build/temp.macosx-10.7-x86_64-3.6/centurion/externals/iced/io
    compile options: '-I../src/cblas -I/Users/cfphxd/anaconda/envs/cfphxd_centurion/lib/python3.6/site-packages/numpy/core/include -I/Users/cfphxd/anaconda/envs/cfphxd_centurion/lib/python3.6/site-packages/numpy/core/include -I/Users/cfphxd/anaconda/envs/cfphxd_centurion/include/python3.6m -c'
    gcc: centurion/externals/iced/io/fastio_.c
    In file included from centurion/externals/iced/io/fastio_.c:352:
    In file included from /Users/cfphxd/anaconda/envs/cfphxd_centurion/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
    In file included from /Users/cfphxd/anaconda/envs/cfphxd_centurion/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
    In file included from /Users/cfphxd/anaconda/envs/cfphxd_centurion/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1788:
    /Users/cfphxd/anaconda/envs/cfphxd_centurion/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by "          "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
    #warning "Using deprecated NumPy API, disable it by " \
     ^
    centurion/externals/iced/io/fastio_.c:355:10: fatal error: 'write.c' file not found
    #include "write.c"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions