Skip to content

SyntaxError: invalid syntax on install #12

@jeremysutherland

Description

@jeremysutherland

(base) [jus1990@aci-lgn-003 peer]$ mkdir build
(base) [jus1990@aci-lgn-003 peer]$ cd build
(base) [jus1990@aci-lgn-003 build]$ cmake ./..
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found SWIG: /usr/bin/swig (found version "1.3.40")
**File "", line 1
from distutils import sysconfig; print sysconfig.get_python_lib()
^
SyntaxError: invalid syntax
-- Numpy headers found
CMake Error at python/CMakeLists.txt:49 (if):
if given arguments:

"(" "NOT" "EXISTS" "File \"<string>\", line 1
  from distutils import sysconfig" " print sysconfig.get_python_inc()
                                         ^

SyntaxError: invalid syntax" ")"**

Unknown arguments specified

-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions