Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error in 01-SBOM-Dependency-Analysis when installing nodestream-plugin-neptune #588

Open
kevinphillips81 opened this issue Apr 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@kevinphillips81
Copy link
Contributor

Community Note

  • Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the bug
Running the new SBOM notebooks on a Notebook (using Python 3 kernel) created on April 15th, I received the following errors on 01-SBOM-Dependency-Analysis:

!pip install -q pyyaml nodestream-plugin-neptune nodestream_plugin_sbom

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
autovizwidget 0.21.0 requires pandas<2.0.0,>=0.20.1, but you have pandas 2.2.2 which is incompatible.
awscli 1.32.78 requires botocore==1.34.78, but you have botocore 1.34.51 which is incompatible.
graph-notebook 4.2.0 requires pandas<=1.5.3,>=1.3.5, but you have pandas 2.2.2 which is incompatible.
hdijupyterutils 0.21.0 requires pandas<2.0.0,>=0.17.1, but you have pandas 2.2.2 which is incompatible.
sparkmagic 0.21.0 requires pandas<2.0.0,>=0.17.1, but you have pandas 2.2.2 which is incompatible.
  • OS: [e.g. Amazon Linux 2]
  • Browser: Google Chrome
  • Graph Notebook Version: 4.2.0
  • Graph Database & Version: Amazon Neptune Analytics (v1.1.1712198926)

To Reproduce
Steps to reproduce the behavior:

  1. Open the SBOM notebooks on a freshly created Notebook
  2. Run the !pip install -q pyyaml nodestream-plugin-neptune nodestream_plugin_sbom command
  3. See error

Expected behavior
The command should complete successfully.

@kevinphillips81 kevinphillips81 added the bug Something isn't working label Apr 16, 2024
@kevinphillips81
Copy link
Contributor Author

Running the following command results in what looks like closed connections from the Neptune database, which may relate to the underlying issue as stated above.

!nodestream run sbom --target my-neptune

image

@Poornacn Poornacn moved this to New issues/Needs triage or review in Graph Notebook Planning Aug 8, 2024
@michaelnchin
Copy link
Member

graph-notebook 4.2.0 requires pandas<=1.5.3,>=1.3.5, but you have pandas 2.2.2 which is incompatible.

This should be resolved with the upgrade of Pandas to a ceiling of v2.2.2 in graph-notebook v4.5.1:
#658

The other packages listed are not directly related to graph-notebook.

@michaelnchin
Copy link
Member

I'm observing a different error now on installation of either nodestream-plugin-neptune or nodestream_plugin_sbom:

ERROR: Could not build wheels for confluent-kafka, which is required to install pyproject.toml-based projects

Full stack trace:

Collecting nodestream-plugin-neptune
  Using cached nodestream_plugin_neptune-0.13.0-py3-none-any.whl.metadata (1.1 kB)
Requirement already satisfied: aiobotocore<3.0.0,>=2.12.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream-plugin-neptune) (2.13.1)
Requirement already satisfied: botocore>=1.34.40 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream-plugin-neptune) (1.34.142)
Collecting cymple<0.12.0,>=0.11.0 (from nodestream-plugin-neptune)
  Using cached cymple-0.11.0-py2.py3-none-any.whl.metadata (7.5 kB)
Collecting nodestream<0.14.0,>=0.13.0 (from nodestream-plugin-neptune)
  Using cached nodestream-0.13.1-py3-none-any.whl.metadata (3.5 kB)
Collecting botocore>=1.34.40 (from nodestream-plugin-neptune)
  Using cached botocore-1.34.131-py3-none-any.whl.metadata (5.7 kB)
Requirement already satisfied: aiohttp<4.0.0,>=3.9.2 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (3.9.5)
Requirement already satisfied: wrapt<2.0.0,>=1.10.10 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (1.16.0)
Requirement already satisfied: aioitertools<1.0.0,>=0.5.1 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (0.11.0)
Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from botocore>=1.34.40->nodestream-plugin-neptune) (1.0.1)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from botocore>=1.34.40->nodestream-plugin-neptune) (2.9.0)
Requirement already satisfied: urllib3!=2.2.0,<3,>=1.25.4 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from botocore>=1.34.40->nodestream-plugin-neptune) (2.2.2)
Requirement already satisfied: Jinja2<4,>=3 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (3.1.4)
Requirement already satisfied: boto3<2.0.0,>=1.34.127 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (1.34.142)
Collecting cleo<3.0,>=2.0 (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached cleo-2.1.0-py3-none-any.whl.metadata (12 kB)
Collecting confluent-kafka<3.0,>=2.5 (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached confluent-kafka-2.5.0.tar.gz (136 kB)
  Preparing metadata (setup.py) ... done
Collecting cookiecutter<3.0,>=2.0 (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached cookiecutter-2.6.0-py3-none-any.whl.metadata (7.3 kB)
Collecting httpx<0.28,>=0.27 (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)
Requirement already satisfied: pandas<3,>=2 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2.2.2)
Requirement already satisfied: psutil<7.0,>=6.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (6.0.0)
Requirement already satisfied: pyarrow<18.0.0,>=17.0.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (17.0.0)
Requirement already satisfied: python-json-logger<3.0,>=2.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2.0.7)
Requirement already satisfied: pyyaml<7.0,>=6.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (6.0.1)
Requirement already satisfied: schema<0.8,>=0.7 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (0.7.7)
Collecting uvloop<=0.19.0,>=0.17.0 (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached uvloop-0.19.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Requirement already satisfied: aiosignal>=1.1.2 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiohttp<4.0.0,>=3.9.2->aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiohttp<4.0.0,>=3.9.2->aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (23.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiohttp<4.0.0,>=3.9.2->aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiohttp<4.0.0,>=3.9.2->aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiohttp<4.0.0,>=3.9.2->aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (1.9.4)
Requirement already satisfied: async-timeout<5.0,>=4.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from aiohttp<4.0.0,>=3.9.2->aiobotocore<3.0.0,>=2.12.0->nodestream-plugin-neptune) (4.0.3)
INFO: pip is looking at multiple versions of boto3 to determine which version is compatible with other requirements. This could take a while.
Collecting boto3<2.0.0,>=1.34.127 (from nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached boto3-1.35.4-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.35.3-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.35.2-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.35.1-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.35.0-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.162-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.161-py3-none-any.whl.metadata (6.6 kB)
INFO: pip is still looking at multiple versions of boto3 to determine which version is compatible with other requirements. This could take a while.
  Using cached boto3-1.34.160-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.159-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.158-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.157-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.156-py3-none-any.whl.metadata (6.6 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Using cached boto3-1.34.155-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.154-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.153-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.152-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.151-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.150-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.149-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.148-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.147-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.146-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.145-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.144-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.143-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.141-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.140-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.139-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.138-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.137-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.136-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.135-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.134-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.133-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.132-py3-none-any.whl.metadata (6.6 kB)
  Using cached boto3-1.34.131-py3-none-any.whl.metadata (6.6 kB)
Requirement already satisfied: s3transfer<0.11.0,>=0.10.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from boto3<2.0.0,>=1.34.127->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (0.10.2)
Collecting crashtest<0.5.0,>=0.4.1 (from cleo<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached crashtest-0.4.1-py3-none-any.whl.metadata (1.1 kB)
Collecting rapidfuzz<4.0.0,>=3.0.0 (from cleo<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached rapidfuzz-3.9.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
Collecting binaryornot>=0.4.4 (from cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached binaryornot-0.4.4-py2.py3-none-any.whl.metadata (6.0 kB)
Collecting click<9.0.0,>=7.0 (from cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting python-slugify>=4.0.0 (from cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached python_slugify-8.0.4-py2.py3-none-any.whl.metadata (8.5 kB)
Requirement already satisfied: requests>=2.23.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2.32.2)
Requirement already satisfied: arrow in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (1.3.0)
Collecting rich (from cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached rich-13.7.1-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: anyio in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from httpx<0.28,>=0.27->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (4.4.0)
Requirement already satisfied: certifi in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from httpx<0.28,>=0.27->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2024.7.4)
Collecting httpcore==1.* (from httpx<0.28,>=0.27->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)
Requirement already satisfied: idna in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from httpx<0.28,>=0.27->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (3.7)
Requirement already satisfied: sniffio in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from httpx<0.28,>=0.27->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (1.3.1)
Collecting h11<0.15,>=0.13 (from httpcore==1.*->httpx<0.28,>=0.27->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached h11-0.14.0-py3-none-any.whl.metadata (8.2 kB)
Requirement already satisfied: MarkupSafe>=2.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from Jinja2<4,>=3->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2.1.5)
Requirement already satisfied: numpy>=1.22.4 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from pandas<3,>=2->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (1.23.5)
Requirement already satisfied: pytz>=2020.1 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from pandas<3,>=2->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from pandas<3,>=2->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2024.1)
Requirement already satisfied: six>=1.5 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from python-dateutil<3.0.0,>=2.1->botocore>=1.34.40->nodestream-plugin-neptune) (1.16.0)
Collecting chardet>=3.0.2 (from binaryornot>=0.4.4->cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached chardet-5.2.0-py3-none-any.whl.metadata (3.4 kB)
Collecting text-unidecode>=1.3 (from python-slugify>=4.0.0->cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached text_unidecode-1.3-py2.py3-none-any.whl.metadata (2.4 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from requests>=2.23.0->cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (3.3.2)
Requirement already satisfied: exceptiongroup>=1.0.2 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from anyio->httpx<0.28,>=0.27->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (1.2.0)
Requirement already satisfied: typing-extensions>=4.1 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from anyio->httpx<0.28,>=0.27->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (4.12.2)
Requirement already satisfied: types-python-dateutil>=2.8.10 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from arrow->cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2.9.0.20240316)
Collecting markdown-it-py>=2.2.0 (from rich->cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /home/ec2-user/anaconda3/envs/JupyterSystemEnv/lib/python3.10/site-packages (from rich->cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune) (2.18.0)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->cookiecutter<3.0,>=2.0->nodestream<0.14.0,>=0.13.0->nodestream-plugin-neptune)
  Using cached mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
Using cached nodestream_plugin_neptune-0.13.0-py3-none-any.whl (13 kB)
Using cached botocore-1.34.131-py3-none-any.whl (12.3 MB)
Using cached cymple-0.11.0-py2.py3-none-any.whl (11 kB)
Using cached nodestream-0.13.1-py3-none-any.whl (154 kB)
Using cached boto3-1.34.131-py3-none-any.whl (139 kB)
Using cached cleo-2.1.0-py3-none-any.whl (78 kB)
Using cached cookiecutter-2.6.0-py3-none-any.whl (39 kB)
Using cached httpx-0.27.0-py3-none-any.whl (75 kB)
Using cached httpcore-1.0.5-py3-none-any.whl (77 kB)
Using cached uvloop-0.19.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)
Using cached binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached crashtest-0.4.1-py3-none-any.whl (7.6 kB)
Using cached python_slugify-8.0.4-py2.py3-none-any.whl (10 kB)
Using cached rapidfuzz-3.9.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)
Using cached rich-13.7.1-py3-none-any.whl (240 kB)
Using cached chardet-5.2.0-py3-none-any.whl (199 kB)
Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Building wheels for collected packages: confluent-kafka
  Building wheel for confluent-kafka (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [66 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka
      copying src/confluent_kafka/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka
      copying src/confluent_kafka/deserializing_consumer.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka
      copying src/confluent_kafka/error.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka
      copying src/confluent_kafka/serializing_producer.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka/_model
      copying src/confluent_kafka/_model/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/_model
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka/_util
      copying src/confluent_kafka/_util/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/_util
      copying src/confluent_kafka/_util/conversion_util.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/_util
      copying src/confluent_kafka/_util/validation_util.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/_util
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_acl.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_cluster.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_config.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_group.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_listoffsets.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_metadata.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_records.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_resource.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_scram.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      copying src/confluent_kafka/admin/_topic.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/admin
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka/avro
      copying src/confluent_kafka/avro/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/avro
      copying src/confluent_kafka/avro/cached_schema_registry_client.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/avro
      copying src/confluent_kafka/avro/error.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/avro
      copying src/confluent_kafka/avro/load.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/avro
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka/kafkatest
      copying src/confluent_kafka/kafkatest/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/kafkatest
      copying src/confluent_kafka/kafkatest/verifiable_client.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/kafkatest
      copying src/confluent_kafka/kafkatest/verifiable_consumer.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/kafkatest
      copying src/confluent_kafka/kafkatest/verifiable_producer.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/kafkatest
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka/schema_registry
      copying src/confluent_kafka/schema_registry/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/schema_registry
      copying src/confluent_kafka/schema_registry/avro.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/schema_registry
      copying src/confluent_kafka/schema_registry/error.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/schema_registry
      copying src/confluent_kafka/schema_registry/json_schema.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/schema_registry
      copying src/confluent_kafka/schema_registry/protobuf.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/schema_registry
      copying src/confluent_kafka/schema_registry/schema_registry_client.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/schema_registry
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka/serialization
      copying src/confluent_kafka/serialization/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/serialization
      creating build/lib.linux-x86_64-cpython-310/confluent_kafka/avro/serializer
      copying src/confluent_kafka/avro/serializer/__init__.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/avro/serializer
      copying src/confluent_kafka/avro/serializer/message_serializer.py -> build/lib.linux-x86_64-cpython-310/confluent_kafka/avro/serializer
      running build_ext
      building 'confluent_kafka.cimpl' extension
      creating build/temp.linux-x86_64-cpython-310
      creating build/temp.linux-x86_64-cpython-310/tmp
      creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-i5w4df69
      creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-i5w4df69/confluent-kafka_e2d941c4cc5542c89f9fd1972685cb14
      creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-i5w4df69/confluent-kafka_e2d941c4cc5542c89f9fd1972685cb14/src
      creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-i5w4df69/confluent-kafka_e2d941c4cc5542c89f9fd1972685cb14/src/confluent_kafka
      creating build/temp.linux-x86_64-cpython-310/tmp/pip-install-i5w4df69/confluent-kafka_e2d941c4cc5542c89f9fd1972685cb14/src/confluent_kafka/src
      gcc -pthread -B /home/ec2-user/anaconda3/envs/JupyterSystemEnv/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/ec2-user/anaconda3/envs/JupyterSystemEnv/include -fPIC -O2 -isystem /home/ec2-user/anaconda3/envs/JupyterSystemEnv/include -fPIC -I/home/ec2-user/anaconda3/envs/JupyterSystemEnv/include/python3.10 -c /tmp/pip-install-i5w4df69/confluent-kafka_e2d941c4cc5542c89f9fd1972685cb14/src/confluent_kafka/src/Admin.c -o build/temp.linux-x86_64-cpython-310/tmp/pip-install-i5w4df69/confluent-kafka_e2d941c4cc5542c89f9fd1972685cb14/src/confluent_kafka/src/Admin.o
      In file included from /tmp/pip-install-i5w4df69/confluent-kafka_e2d941c4cc5542c89f9fd1972685cb14/src/confluent_kafka/src/Admin.c:17:0:
      /tmp/pip-install-i5w4df69/confluent-kafka_e2d941c4cc5542c89f9fd1972685cb14/src/confluent_kafka/src/confluent_kafka.h:23:10: fatal error: librdkafka/rdkafka.h: No such file or directory
       #include <librdkafka/rdkafka.h>
                ^~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for confluent-kafka
  Running setup.py clean for confluent-kafka
Failed to build confluent-kafka
ERROR: Could not build wheels for confluent-kafka, which is required to install pyproject.toml-based projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: New issues/Needs triage or review
Development

No branches or pull requests

2 participants