Skip to content

[BUG] error: metadata-generation-failed when installing via pip #762

@yasenstar

Description

@yasenstar

Describe the bug
"error: metadata-generation-failed" when run "pip install graph-notebook"

  • OS: Windows 11
  • Browser: Google Chrome, I'm using VS Code
  • Graph Notebook Version: current in GitHub
  • Graph Database & Version: n/a
  • Python: 3.13.7
  • pip: 25.2

To Reproduce
Run pip install graph-notebook, below is full output with error in the last:

> pip install graph-notebook
Collecting graph-notebook
  Downloading graph_notebook-4.6.2-py3-none-any.whl.metadata (20 kB)
Collecting gremlinpython<=3.7.2,>=3.5.1 (from graph-notebook)
  Downloading gremlinpython-3.7.2-py2.py3-none-any.whl.metadata (6.4 kB)
Collecting SPARQLWrapper==2.0.0 (from graph-notebook)
  Downloading SPARQLWrapper-2.0.0-py3-none-any.whl.metadata (2.0 kB)
Collecting requests<=2.32.2,>=2.32.0 (from graph-notebook)
  Downloading requests-2.32.2-py3-none-any.whl.metadata (4.6 kB)
Collecting ipywidgets==7.7.2 (from graph-notebook)
  Downloading ipywidgets-7.7.2-py2.py3-none-any.whl.metadata (1.9 kB)
Collecting jupyterlab_widgets<=1.1.10,>=1.0.0 (from graph-notebook)
  Downloading jupyterlab_widgets-1.1.10-py3-none-any.whl.metadata (3.7 kB)
Collecting networkx==2.4 (from graph-notebook)
  Downloading networkx-2.4-py3-none-any.whl.metadata (4.9 kB)
Collecting Jinja2<=3.1.4,>=3.0.3 (from graph-notebook)
  Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting notebook<7.0.0,>=6.1.5 (from graph-notebook)
  Downloading notebook-6.5.7-py3-none-any.whl.metadata (2.5 kB)
Collecting nbclient<=0.7.3 (from graph-notebook)
  Downloading nbclient-0.7.3-py3-none-any.whl.metadata (8.0 kB)
Collecting jupyter-contrib-nbextensions<=0.7.0 (from graph-notebook)
  Downloading jupyter_contrib_nbextensions-0.7.0.tar.gz (23.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.5/23.5 MB 1.8 MB/s  0:00:13
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting widgetsnbextension<=3.6.1 (from graph-notebook)
  Downloading widgetsnbextension-3.6.1-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting jupyter==1.0.0 (from graph-notebook)
  Downloading jupyter-1.0.0-py2.py3-none-any.whl.metadata (995 bytes)
Collecting botocore>=1.34.74 (from graph-notebook)
  Downloading botocore-1.40.34-py3-none-any.whl.metadata (5.7 kB)
Collecting boto3>=1.34.74 (from graph-notebook)
  Downloading boto3-1.40.34-py3-none-any.whl.metadata (6.7 kB)
Collecting ipython<=8.10.0,>=7.16.1 (from graph-notebook)
  Downloading ipython-8.10.0-py3-none-any.whl.metadata (5.7 kB)
Collecting neo4j<=5.23.1,>=5.0.0 (from graph-notebook)
  Downloading neo4j-5.23.1-py3-none-any.whl.metadata (5.7 kB)
Collecting rdflib==7.0.0 (from graph-notebook)
  Downloading rdflib-7.0.0-py3-none-any.whl.metadata (11 kB)
Collecting ipykernel==5.3.4 (from graph-notebook)
  Downloading ipykernel-5.3.4-py3-none-any.whl.metadata (1.0 kB)
Collecting ipyfilechooser==0.6.0 (from graph-notebook)
  Downloading ipyfilechooser-0.6.0-py3-none-any.whl.metadata (6.4 kB)
Collecting nbconvert<=7.2.8,>=6.3.0 (from graph-notebook)
  Downloading nbconvert-7.2.8-py3-none-any.whl.metadata (8.3 kB)
Collecting jedi<=0.18.2,>=0.18.1 (from graph-notebook)
  Downloading jedi-0.18.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting itables<=2.1.0,>=2.0.0 (from graph-notebook)
  Downloading itables-2.1.0-py3-none-any.whl.metadata (6.9 kB)
Collecting pandas<=2.2.2,>=2.1.0 (from graph-notebook)
  Downloading pandas-2.2.2.tar.gz (4.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 1.7 MB/s  0:00:02
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      + meson setup C:\Users\[myID]\AppData\Local\Temp\pip-install-titwfrw2\pandas_9800b29d122c49fd953acc184dd022e7 C:\Users\[myID]\AppData\Local\Temp\pip-install-titwfrw2\pandas_9800b29d122c49fd953acc184dd022e7\.mesonpy-wxdji_0c\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\[myID]\AppData\Local\Temp\pip-install-titwfrw2\pandas_9800b29d122c49fd953acc184dd022e7\.mesonpy-wxdji_0c\build\meson-python-native-file.ini
      The Meson build system
      Version: 1.2.1
      Source dir: C:\Users\[myID]\AppData\Local\Temp\pip-install-titwfrw2\pandas_9800b29d122c49fd953acc184dd022e7
      Build dir: C:\Users\[myID]\AppData\Local\Temp\pip-install-titwfrw2\pandas_9800b29d122c49fd953acc184dd022e7\.mesonpy-wxdji_0c\build
      Build type: native build
      Project name: pandas
      Project version: 2.2.2

      ..\..\meson.build:2:0: ERROR: Could not parse vswhere.exe output

      A full log can be found at C:\Users\[myID]\AppData\Local\Temp\pip-install-titwfrw2\pandas_9800b29d122c49fd953acc184dd022e7\.mesonpy-wxdji_0c\build\meson-logs\meson-log.txt
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Please help to check,
Xiaoqi

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions