grafana / grafana/pyroscope

error: failed to get `ffikit` as a dependency of package `pyroscope_ffi v0.1.0`

Open
#1,796 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
11.7k
Forks
802
Avg merge
1d 19h
Merged PRs (30d)
80

Description

Environment:

```
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G14042

$ python --version
Python 3.9.9

$ sysctl kern.version
kern.version: Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64
```

Attempting to install pyroscope gives:

```
$ pip install pyroscope-io
Collecting pyroscope-io
Using cached pyroscope-io-0.8.0.tar.gz (11 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting milksnakex>=0.1.6
Using cached milksnakex-0.1.6-py2.py3-none-any.whl (10 kB)
Collecting cffi>=1.6.0
Using cached cffi-1.15.1-cp310-cp310-macosx_10_9_x86_64.whl (179 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: pyroscope-io
Building wheel for pyroscope-io (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for pyroscope-io (pyproject.toml) did not run successfully.
│ exit code: 101
╰─> [25 lines of output]
/private/var/folders/tz/lx2rh_nj1853_wlh5ypgn9l80000gn/T/pip-build-env-z5xila5r/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-cpython-310
creating build/lib.macosx-10.9-universal2-cpython-310/pyroscope_io
copying pyroscope_io/__init__.py -> build/lib.macosx-10.9-universal2-cpython-310/pyroscope_io
creating build/lib.macosx-10.9-universal2-cpython-310/pyroscope
copying pyroscope/__init__.py -> build/lib.macosx-10.9-universal2-cpython-310/pyroscope
Updating git repository `https://github.com/omarabid/read-process-memory.git`
error: failed to get `ffikit` as a dependency of package `pyroscope_ffi v0.1.0 (/private/var/folders/tz/lx2rh_nj1853_wlh5ypgn9l80000gn/T/pip-install-_tw2u9re/pyroscope-io_248ab0dc47d4422eaf9cf9f5a90c3285/lib)`

Caused by:
failed to load source for dependency `ffikit`

Caused by:
Unable to update /private/var/folders/tz/lx2rh_nj1853_wlh5ypgn9l80000gn/T/pip-install-_tw2u9re/ffikit

Caused by:
failed to read `/private/var/folders/tz/lx2rh_nj1853_wlh5ypgn9l80000gn/T/pip-install-_tw2u9re/ffikit/Cargo.toml`

Caused by:
No such file or directory (os error 2)
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyroscope-io
Failed to build pyroscope-io
ERROR: Could not build wheels for pyroscope-io, which is required to install pyproject.toml-based projects
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.