pkgdep/debian: Install python3-dev
This package is required to install grpcio: ./scripts/pkgdep.sh --developer-tools ... Could not find <Python.h>. This could mean the following: * You're on Ubuntu and haven't run `apt-get install python3-dev`. * You're on RHEL/Fedora and haven't run `yum install python3-devel` or `dnf install python3-devel` (make sure you also have redhat-rpm-config installed) * You're on Mac OS X and the usual Python framework was somehow corrupted (check your environment variables or try re-installing?) * You're on Windows and your Python installation was somehow corrupted (check your environment variables or try re-installing?) ---------------------------------------- ERROR: Failed building wheel for grpcio Failed to build grpcio Signed-off-by: Alexey Marchuk <alexeymar@nvidia.com> Change-Id: I1a9d6154de9ab86ba8062b53ba56002e226daa94 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15751 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: <qun.wan@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
9d06166f5b
commit
0ab4de566b
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
# Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES.
|
||||
# All rights reserved.
|
||||
#
|
||||
|
||||
@ -14,7 +15,7 @@ if [[ $NAME == "Ubuntu" ]] && [[ $VERSION_ID_NUM -ge 2204 ]]; then
|
||||
else
|
||||
apt-get install -y python
|
||||
fi
|
||||
apt-get install -y libncurses5-dev libncursesw5-dev python3-pip
|
||||
apt-get install -y libncurses5-dev libncursesw5-dev python3-pip python3-dev
|
||||
pip3 install ninja
|
||||
if ! pip3 install meson; then
|
||||
# After recent updates pip3 on ubuntu1604 provides meson version which requires python >= 3.6.
|
||||
|
Loading…
Reference in New Issue
Block a user