Skip to content

Perspective Python install failure - MacOS Catalina #938

@timkpaine

Description

@timkpaine

@oshyshkin

Hi, I have the same issue on MacOS Catalina (10.15.3), Python 3.7.3, venv.
However, an error slightly different:

File "setup.py", line 104, in run
      self.run_cmake()
    File "setup.py", line 141, in run_cmake
      self.build_extension_cmake(ext)
    File "setup.py", line 203, in build_extension_cmake
      subprocess.check_call([self.cmake_cmd, os.path.abspath(ext.sourcedir)] + cmake_args, cwd=self.build_temp, env=env, stderr=subprocess.STDOUT)
    File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/subprocess.py", line 347, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError:
 Command '[
 '/usr/local/bin/cmake', 
 '/private/var/folders/qb/5tsj24yx0bs5zgnyj9swprdrxcqb64/T/pip-install-05i5_09v/perspective-python/dist', 
 '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/qb/5tsj24yx0bs5zgnyj9swprdrxcqb64/T/pip-install-05i5_09v/perspective-python/perspective/table', 
 '-DCMAKE_BUILD_TYPE=Release', 
 '-DPSP_CPP_BUILD=1', 
 '-DPSP_WASM_BUILD=0', 
 '-DPSP_PYTHON_BUILD=1', 
 '-DPSP_CPP_BUILD_TESTS=0', 
 '-DPSP_PYTHON_VERSION=3.7.3', 
 '-DPYTHON_EXECUTABLE=/Users/oshyshkin/Documents/Gogo/acpu_terrain/geo/bin/python3', 
 '-DPython_ROOT_DIR=/Users/oshyshkin/Documents/Gogo/acpu_terrain/geo', 
 '-DPython_ROOT=/Users/oshyshkin/Documents/Gogo/acpu_terrain/geo', 
 '-DPSP_CMAKE_MODULE_PATH=/private/var/folders/qb/5tsj24yx0bs5zgnyj9swprdrxcqb64/T/pip-install-05i5_09v/perspective-python/dist/cmake', 
 '-DPSP_CPP_SRC=/private/var/folders/qb/5tsj24yx0bs5zgnyj9swprdrxcqb64/T/pip-install-05i5_09v/perspective-python/dist', 
 '-DPSP_PYTHON_SRC=/private/var/folders/qb/5tsj24yx0bs5zgnyj9swprdrxcqb64/T/pip-install-05i5_09v/perspective-python/dist/../perspective', 
 '-DCMAKE_BUILD_TYPE=Release']' 
 returned non-zero exit status 1.
----------------------------------------
  ERROR: Failed building wheel for perspective-python
Failed to build perspective-python
ERROR: Could not build wheels for perspective-python which use PEP 517 and cannot be installed directly

Cmake:

$ cmake --version
> cmake version 3.16.4
>
> CMake suite maintained and supported by Kitware (kitware.com/cmake).

$ which cmake
>/usr/local/bin/cmake

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    PythonquestionQuestions about use, potential features, or improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions