Skip to content

Failed to import C++ bindings for Perspective #937

Closed
@alexeykulakov

Description

Bug Report

I have successfully install perspective-python package with all dependencies (NumPy and PyArrow)
Then I get the warning message when import perspective

CRITICAL:root:Failed to import C++ bindings for Perspective probably as it could not be built for your architecture.
You can still use PerspectiveWidget in client mode using JupyterLab.

So I can't use Table and PerspectiveManager classes.
Command from perspective import Table, PerspectiveManager gives the result:

File "", line 1, in
ImportError: cannot import name 'Table' from 'perspective' (/home/akulakov/miniconda3/envs/finos/lib/python3.7/site-packages/perspective/init.py)

Steps to Reproduce:

  1. conda create -n finos python=3.7.0
  2. conda activate finos
  3. python -m pip install numpy
  4. python -m pip install pyarrow==0.15.1
  5. python -m pip install perspective-python
    No errors at this time
  6. exec python: from perspective import Table, PerspectiveManager

Expected Result:

import packages with no errors

Environment:

OS: Ubuntu 19.10
Virtualenv: conda
Python: 3.7.0

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