You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> pip install pyinstrument
Collecting pyinstrument
Using cached pyinstrument-4.6.2.tar.gz (128 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyinstrument
Building wheel for pyinstrument (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyinstrument (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [105 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-313
creating build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\frame.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\frame_info.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\frame_ops.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\middleware.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\processors.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\profiler.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\session.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\stack_sampler.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\typing.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\util.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\__init__.py -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\__main__.py -> build\lib.win-amd64-cpython-313\pyinstrument
creating build\lib.win-amd64-cpython-313\pyinstrument\low_level
copying pyinstrument\low_level\stat_profile_python.py -> build\lib.win-amd64-cpython-313\pyinstrument\low_level
creating build\lib.win-amd64-cpython-313\pyinstrument\magic
copying pyinstrument\magic\magic.py -> build\lib.win-amd64-cpython-313\pyinstrument\magic
copying pyinstrument\magic\_utils.py -> build\lib.win-amd64-cpython-313\pyinstrument\magic
copying pyinstrument\magic\__init__.py -> build\lib.win-amd64-cpython-313\pyinstrument\magic
creating build\lib.win-amd64-cpython-313\pyinstrument\renderers
copying pyinstrument\renderers\base.py -> build\lib.win-amd64-cpython-313\pyinstrument\renderers
copying pyinstrument\renderers\console.py -> build\lib.win-amd64-cpython-313\pyinstrument\renderers
copying pyinstrument\renderers\html.py -> build\lib.win-amd64-cpython-313\pyinstrument\renderers
copying pyinstrument\renderers\jsonrenderer.py -> build\lib.win-amd64-cpython-313\pyinstrument\renderers
copying pyinstrument\renderers\pstatsrenderer.py -> build\lib.win-amd64-cpython-313\pyinstrument\renderers
copying pyinstrument\renderers\session.py -> build\lib.win-amd64-cpython-313\pyinstrument\renderers
copying pyinstrument\renderers\speedscope.py -> build\lib.win-amd64-cpython-313\pyinstrument\renderers
copying pyinstrument\renderers\__init__.py -> build\lib.win-amd64-cpython-313\pyinstrument\renderers
creating build\lib.win-amd64-cpython-313\pyinstrument\vendor
copying pyinstrument\vendor\appdirs.py -> build\lib.win-amd64-cpython-313\pyinstrument\vendor
copying pyinstrument\vendor\decorator.py -> build\lib.win-amd64-cpython-313\pyinstrument\vendor
copying pyinstrument\vendor\keypath.py -> build\lib.win-amd64-cpython-313\pyinstrument\vendor
copying pyinstrument\vendor\__init__.py -> build\lib.win-amd64-cpython-313\pyinstrument\vendor
running egg_info
writing pyinstrument.egg-info\PKG-INFO
writing dependency_links to pyinstrument.egg-info\dependency_links.txt
writing entry points to pyinstrument.egg-info\entry_points.txt
writing requirements to pyinstrument.egg-info\requires.txt
writing top-level names to pyinstrument.egg-info\top_level.txt
reading manifest file 'pyinstrument.egg-info\SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'pyinstrument.egg-info\SOURCES.txt'
C:\Users\ךינשגכהד\AppData\Local\Temp\pip-build-env-m_b68k9r\overlay\Lib\site-packages\setuptools\command\build_py.py:215: _Warning: Package 'pyinstrument.low_level' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'pyinstrument.low_level' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'pyinstrument.low_level' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'pyinstrument.low_level' to be distributed and are
already explicitly excluding 'pyinstrument.low_level' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
copying pyinstrument\py.typed -> build\lib.win-amd64-cpython-313\pyinstrument
copying pyinstrument\low_level\stat_profile.c -> build\lib.win-amd64-cpython-313\pyinstrument\low_level
copying pyinstrument\low_level\stat_profile.pyi -> build\lib.win-amd64-cpython-313\pyinstrument\low_level
creating build\lib.win-amd64-cpython-313\pyinstrument\renderers\html_resources
copying pyinstrument\renderers\html_resources\app.css -> build\lib.win-amd64-cpython-313\pyinstrument\renderers\html_resources
copying pyinstrument\renderers\html_resources\app.js -> build\lib.win-amd64-cpython-313\pyinstrument\renderers\html_resources
running build_ext
building 'pyinstrument.low_level.stat_profile' extension
creating build\temp.win-amd64-cpython-313
creating build\temp.win-amd64-cpython-313\Release
creating build\temp.win-amd64-cpython-313\Release\pyinstrument
creating build\temp.win-amd64-cpython-313\Release\pyinstrument\low_level
"C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.41.33923\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\ךינשגכהד\scoop\apps\python-alpha\current\include -IC:\Users\ךינשגכהד\scoop\apps\python-alpha\current\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.41.33923\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.41.33923\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt" /Tcpyinstrument/low_level/stat_profile.c /Fobuild\temp.win-amd64-cpython-313\Release\pyinstrument/low_level/stat_profile.obj
stat_profile.c
pyinstrument/low_level/stat_profile.c(50): warning C4013: 'clock' undefined; assuming extern returning int
pyinstrument/low_level/stat_profile.c(50): error C2065: 'CLOCKS_PER_SEC': undeclared identifier
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\VC\\Tools\\MSVC\\14.41.33923\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyinstrument
Failed to build pyinstrument
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyinstrument)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: