Open Krastanov opened 2 months ago
@amicciche , could you copy paste in a code block the entire stack trace for the installation failure you get on an ARM mac?
E.g. the result of
julia +1.10 --project=some_new_folder -tauto
] add QuantumClifford PyQDecoders
using QuantumClifford, PyQDecoders
versioninfo(verbose=true)
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.03%. Comparing base (
d6018f8
) to head (f4a1e5b
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@amicciche , could you copy paste in a code block the entire stack trace for the installation failure you get on an ARM mac?
E.g. the result of
julia +1.10 --project=some_new_folder -tauto ] add QuantumClifford PyQDecoders using QuantumClifford, PyQDecoders versioninfo(verbose=true)
After executing
julia +1.10 --project=some_new_folder -tauto
] add QuantumClifford PyQDecoders
I got the following output:
micciche@vl965-172-31-45-184 some_new_folder % julia +1.10 --project=. -tauto
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.10.2 (2024-03-01)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(some_new_folder) pkg> add QuantumClifford PyQDecoders
Updating registry at `~/.julia/registries/General.toml`
Resolving package versions...
Installed Nemo ─ v0.43.3
Updating `~/Research/QuantumInfo23/JuliaProjects/some_new_folder/Project.toml`
[17f5de1a] + PyQDecoders v0.2.0
[0525e862] + QuantumClifford v0.9.3
Updating `~/Research/QuantumInfo23/JuliaProjects/some_new_folder/Manifest.toml`
⌅ [c3fe647b] + AbstractAlgebra v0.40.9
[ec485272] + ArnoldiMethod v0.4.0
[62783981] + BitTwiddlingConvenienceFunctions v0.1.5
[861a8166] + Combinatorics v1.0.2
[34da2185] + Compat v4.14.0
[992eb4ea] + CondaPkg v0.2.22
[9a962f9c] + DataAPI v1.16.0
[864edb3b] + DataStructures v0.18.20
[e2d170a0] + DataValueInterfaces v1.0.0
[ffbed154] + DocStringExtensions v0.9.3
[86223c79] + Graphs v1.10.0
[3e5b6fbb] + HostCPUFeatures v0.1.16
[2cd5bd5f] + ILog2 v0.2.4
[615f187c] + IfElse v0.1.1
[d25df0c9] + Inflate v0.1.4
[82899510] + IteratorInterfaceExtensions v1.0.0
[692b3bcd] + JLLWrappers v1.5.0
[0f8b85d8] + JSON3 v1.14.0
[1914dd2f] + MacroTools v0.5.13
[0b3b1443] + MicroMamba v0.1.14
[2edaba10] + Nemo v0.43.3
[bac558e1] + OrderedCollections v1.6.3
[69de0a69] + Parsers v2.8.1
[fa939f87] + Pidfile v1.3.0
[aea7be01] + PrecompileTools v1.2.1
[21216c6a] + Preferences v1.4.3
[17f5de1a] + PyQDecoders v0.2.0
[6099a3de] + PythonCall v0.9.19
[0525e862] + QuantumClifford v0.9.3
[5717a53b] + QuantumInterface v0.3.4
[fb686558] + RandomExtensions v0.4.4
[ae029012] + Requires v1.3.0
[fdea26ae] + SIMD v3.4.6
[6c6a2e73] + Scratch v1.2.1
[699a6c99] + SimpleTraits v0.9.4
[aedffcd0] + Static v0.8.10
[90137ffa] + StaticArrays v1.9.3
[1e83bf80] + StaticArraysCore v1.4.2
[856f2bd8] + StructTypes v1.10.0
[8e1ec7a9] + SumTypes v0.5.6
[3783bdb8] + TableTraits v1.0.1
[bd369af6] + Tables v1.11.1
[e17b2a0c] + UnsafePointers v1.0.0
[e21ec000] + Antic_jll v0.201.500+0
[d9960996] + Arb_jll v200.2300.0+0
[fcfa6d1b] + Calcium_jll v0.401.100+0
⌅ [e134572f] + FLINT_jll v200.900.9+0
⌅ [656ef2d0] + OpenBLAS32_jll v0.3.24+0
[f8abcde7] + micromamba_jll v1.5.8+0
[0dad84c5] + ArgTools v1.1.1
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8ba89e20] + Distributed
[f43a241f] + Downloads v1.6.0
[7b1f6079] + FileWatching
[b77e0a4c] + InteractiveUtils
[4af54fe1] + LazyArtifacts
[b27032c2] + LibCURL v0.6.4
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[ca575930] + NetworkOptions v1.2.0
[44cfe95a] + Pkg v1.10.0
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA v0.7.0
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays v1.10.0
[10745b16] + Statistics v1.10.0
[fa267f1f] + TOML v1.0.3
[a4e569a6] + Tar v1.10.0
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
[e66e0078] + CompilerSupportLibraries_jll v1.1.0+0
[781609d7] + GMP_jll v6.2.1+6
[deac9b47] + LibCURL_jll v8.4.0+0
[e37daf67] + LibGit2_jll v1.6.4+0
[29816b5a] + LibSSH2_jll v1.11.0+1
[3a97d323] + MPFR_jll v4.2.0+1
[c8ffd9c3] + MbedTLS_jll v2.28.2+1
[14a3606d] + MozillaCACerts_jll v2023.1.10
[4536629a] + OpenBLAS_jll v0.3.23+4
[bea87d4a] + SuiteSparse_jll v7.2.1+1
[83775a58] + Zlib_jll v1.2.13+1
[8e850b90] + libblastrampoline_jll v5.8.0+1
[8e850ede] + nghttp2_jll v1.52.0+1
[3f19e933] + p7zip_jll v17.4.0+2
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
✗ PyQDecoders
✗ QuantumClifford → QuantumCliffordPyQDecodersExt
2 dependencies successfully precompiled in 103 seconds. 59 already precompiled.
2 dependencies errored.
For a report of the errors see `julia> err`. To retry use `pkg> precompile`
(some_new_folder) pkg> err
ERROR: `err` is not a recognized command. Type ? for help with available commands
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:
PyQDecoders [17f5de1a-9b79-4409-a58d-4d45812840f7]
Failed to precompile PyQDecoders [17f5de1a-9b79-4409-a58d-4d45812840f7] to "/Users/micciche/.julia/compiled/v1.10/PyQDecoders/jl_sFtNFz".
CondaPkg Found dependencies: /Users/micciche/.julia/packages/PythonCall/bb3ax/CondaPkg.toml
CondaPkg Found dependencies: /Users/micciche/.julia/packages/PyQDecoders/nk69c/CondaPkg.toml
CondaPkg Resolving changes
+ ldpc (pip)
+ numpy (pip)
+ pip
+ pymatching (pip)
+ python
+ scipy (pip)
CondaPkg Creating environment
│ /Users/micciche/.julia/artifacts/98aba21a6802e06a5d2e7c48633d7dc1c3d4a749/bin/micromamba
│ -r /Users/micciche/.julia/scratchspaces/0b3b1443-0f03-428d-bdfb-f27f9c1191ea/root
│ create
│ -y
│ -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
│ --override-channels
│ --no-channel-priority
│ pip[version='>=22.0.0']
│ python[version='>=3.7,<4',channel='conda-forge',build='*cpython*']
└ -c conda-forge
Transaction
Prefix: /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Updating specs:
- pip[version='>=22.0.0']
- conda-forge::python[version='>=3.7,<4',build=*cpython*]
Package Version Build Channel Size
───────────────────────────────────────────────────────────────────────────────
Install:
───────────────────────────────────────────────────────────────────────────────
+ xz 5.2.6 h57fd34a_0 conda-forge Cached
+ libexpat 2.6.2 hebf3989_0 conda-forge Cached
+ ncurses 6.4.20240210 h078ce10_0 conda-forge Cached
+ bzip2 1.0.8 h93a5062_5 conda-forge Cached
+ libffi 3.4.2 h3422bc3_5 conda-forge Cached
+ libzlib 1.2.13 h53f4e23_5 conda-forge Cached
+ ca-certificates 2024.2.2 hf0a4a13_0 conda-forge Cached
+ readline 8.2 h92ec313_1 conda-forge Cached
+ tk 8.6.13 h5083fa2_1 conda-forge Cached
+ libsqlite 3.45.3 h091b4b1_0 conda-forge Cached
+ openssl 3.2.1 h0d3ecfb_1 conda-forge Cached
+ tzdata 2024a h0c530f3_0 conda-forge Cached
+ python 3.12.3 h4a7b5fc_0_cpython conda-forge Cached
+ pip 24.0 pyhd8ed1ab_0 conda-forge Cached
+ setuptools 69.5.1 pyhd8ed1ab_0 conda-forge Cached
+ wheel 0.43.0 pyhd8ed1ab_1 conda-forge Cached
Summary:
Install: 16 packages
Total download: 0 B
───────────────────────────────────────────────────────────────────────────────
Transaction starting
Linking xz-5.2.6-h57fd34a_0
Linking libexpat-2.6.2-hebf3989_0
Linking ncurses-6.4.20240210-h078ce10_0
Linking bzip2-1.0.8-h93a5062_5
Linking libffi-3.4.2-h3422bc3_5
Linking libzlib-1.2.13-h53f4e23_5
Linking ca-certificates-2024.2.2-hf0a4a13_0
Linking readline-8.2-h92ec313_1
Linking tk-8.6.13-h5083fa2_1
Linking libsqlite-3.45.3-h091b4b1_0
Linking openssl-3.2.1-h0d3ecfb_1
Linking tzdata-2024a-h0c530f3_0
Linking python-3.12.3-h4a7b5fc_0_cpython
Linking pip-24.0-pyhd8ed1ab_0
Linking setuptools-69.5.1-pyhd8ed1ab_0
Linking wheel-0.43.0-pyhd8ed1ab_1
Transaction finished
To activate this environment, use:
micromamba activate /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Or to execute a single command in this environment, use:
micromamba run -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env mycommand
CondaPkg Installing Pip packages
│ /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/bin/pip
│ install
│ ldpc
│ numpy
│ pymatching
└ scipy
Collecting ldpc
Using cached ldpc-0.1.51.tar.gz (367 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting numpy
Using cached numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB)
Collecting pymatching
Using cached PyMatching-2.2.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (16 kB)
Collecting scipy
Using cached scipy-1.13.0-cp312-cp312-macosx_12_0_arm64.whl.metadata (60 kB)
Collecting tqdm (from ldpc)
Using cached tqdm-4.66.2-py3-none-any.whl.metadata (57 kB)
Collecting networkx (from pymatching)
Using cached networkx-3.3-py3-none-any.whl.metadata (5.1 kB)
Collecting matplotlib (from pymatching)
Using cached matplotlib-3.8.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB)
Collecting contourpy>=1.0.1 (from matplotlib->pymatching)
Using cached contourpy-1.2.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB)
Collecting cycler>=0.10 (from matplotlib->pymatching)
Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->pymatching)
Using cached fonttools-4.51.0-cp312-cp312-macosx_10_9_universal2.whl.metadata (159 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib->pymatching)
Using cached kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.4 kB)
Collecting packaging>=20.0 (from matplotlib->pymatching)
Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting pillow>=8 (from matplotlib->pymatching)
Using cached pillow-10.3.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.2 kB)
Collecting pyparsing>=2.3.1 (from matplotlib->pymatching)
Using cached pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
Collecting python-dateutil>=2.7 (from matplotlib->pymatching)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->pymatching)
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Using cached numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl (13.7 MB)
Using cached PyMatching-2.2.0-cp312-cp312-macosx_11_0_arm64.whl (365 kB)
Using cached scipy-1.13.0-cp312-cp312-macosx_12_0_arm64.whl (30.4 MB)
Using cached matplotlib-3.8.4-cp312-cp312-macosx_11_0_arm64.whl (7.5 MB)
Using cached networkx-3.3-py3-none-any.whl (1.7 MB)
Using cached tqdm-4.66.2-py3-none-any.whl (78 kB)
Using cached contourpy-1.2.1-cp312-cp312-macosx_11_0_arm64.whl (245 kB)
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Using cached fonttools-4.51.0-cp312-cp312-macosx_10_9_universal2.whl (2.8 MB)
Using cached kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl (64 kB)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Using cached pillow-10.3.0-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB)
Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: ldpc
Building wheel for ldpc (pyproject.toml): started
Building wheel for ldpc (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for ldpc (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [85 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.0-arm64-cpython-312
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/codes.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/protograph.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/code_util.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/alist.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decode_sim.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
copying src/ldpc/tests/test_ring_of_circulants_f2.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
copying src/ldpc/tests/test_protograph.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
running egg_info
writing src/ldpc.egg-info/PKG-INFO
writing dependency_links to src/ldpc.egg-info/dependency_links.txt
writing requirements to src/ldpc.egg-info/requires.txt
writing top-level names to src/ldpc.egg-info/top_level.txt
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'src/ldpc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/ldpc/README.md'
warning: no files found matching 'src/ldpc/LICENSE'
adding license file 'LICENSE'
writing manifest file 'src/ldpc.egg-info/SOURCES.txt'
copying src/ldpc/VERSION -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/__init__.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/COPYRIGHT -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/README.md -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/binary_char.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/binary_char.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse_extra.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse_extra.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/sort.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/sort.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
running build_ext
building 'ldpc.bp_decoder' extension
creating build/temp.macosx-11.0-arm64-cpython-312
creating build/temp.macosx-11.0-arm64-cpython-312/src
creating build/temp.macosx-11.0-arm64-cpython-312/src/ldpc
creating build/temp.macosx-11.0-arm64-cpython-312/src/ldpc/include
/usr/local/opt/llvm/bin/clang -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include -arch arm64 -fPIC -O2 -isystem /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include -arch arm64 -I/usr/local/opt/llvm/include -I/private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-am32y042/overlay/lib/python3.12/site-packages/numpy/core/include -Isrc/ldpc/include -I/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include/python3.12 -c src/ldpc/bp_decoder.c -o build/temp.macosx-11.0-arm64-cpython-312/src/ldpc/bp_decoder.o -std=c11
In file included from src/ldpc/bp_decoder.c:47:
/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include/python3.12/Python.h:23:12: fatal error: 'stdlib.h' file not found
# include <stdlib.h>
^~~~~~~~~~
1 error generated.
error: command '/usr/local/opt/llvm/bin/clang' 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 ldpc
Failed to build ldpc
ERROR: Could not build wheels for ldpc, which is required to install pyproject.toml-based projects
ERROR: LoadError: InitError: failed process: Process(`/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/bin/pip install ldpc numpy pymatching scipy`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ ./process.jl:565 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:480
[3] run(::Cmd)
@ Base ./process.jl:477
[4] _run(io::IO, cmd::Cmd, args::Any; flags::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:398
[5] (::CondaPkg.var"#37#38"{IOContext{Base.PipeEndpoint}, Vector{String}, Vector{String}, Vector{String}})()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:332
[6] withenv(f::Function)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/env.jl:44
[7] _resolve_pip_install(io::Any, pip_specs::Any, load_path::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:329
[8] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:549
[9] resolve()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:405
[10] envdir()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/env.jl:70
[11] init_context()
@ PythonCall.C ~/.julia/packages/PythonCall/bb3ax/src/C/context.jl:63
[12] __init__()
@ PythonCall.C ~/.julia/packages/PythonCall/bb3ax/src/C/C.jl:23
[13] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1134
[14] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1122
[15] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base ./loading.jl:1067
[16] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base ./loading.jl:1581
[17] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1938
[18] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1812
[19] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[20] invoke_in_world
@ ./essentials.jl:923 [inlined]
[21] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1803
[22] macro expansion
@ ./loading.jl:1790 [inlined]
[23] macro expansion
@ ./lock.jl:267 [inlined]
[24] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[25] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[26] invoke_in_world
@ ./essentials.jl:923 [inlined]
[27] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
[28] include
@ ./Base.jl:495 [inlined]
[29] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2222
[30] top-level scope
@ stdin:3
during initialization of module C
in expression starting at /Users/micciche/.julia/packages/PyQDecoders/nk69c/src/PyQDecoders.jl:1
in expression starting at stdin:
Here is the output of
using QuantumClifford, PyQDecoders
versioninfo(verbose=true)
julia> using QuantumClifford, PyQDecoders
Precompiling PyQDecoders
Info Given PyQDecoders was explicitly requested, output will be shown live
CondaPkg Found dependencies: /Users/micciche/.julia/packages/PythonCall/bb3ax/CondaPkg.toml
CondaPkg Found dependencies: /Users/micciche/.julia/packages/PyQDecoders/nk69c/CondaPkg.toml
CondaPkg Resolving changes
+ ldpc (pip)
+ numpy (pip)
+ pip
+ pymatching (pip)
+ python
+ scipy (pip)
CondaPkg Removing environment
│ /Users/micciche/.julia/artifacts/98aba21a6802e06a5d2e7c48633d7dc1c3d4a749/bin/micromamba
│ -r /Users/micciche/.julia/scratchspaces/0b3b1443-0f03-428d-bdfb-f27f9c1191ea/root
│ remove
│ -y
│ -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
└ --all
Transaction
Prefix: /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Removing specs:
- bzip2
- ca-certificates
- libexpat
- libffi
- libsqlite
- libzlib
- ncurses
- openssl
- pip
- python
- readline
- setuptools
- tk
- tzdata
- wheel
- xz
Package Version Build Channel Size
───────────────────────────────────────────────────────────────────────────────
Remove:
───────────────────────────────────────────────────────────────────────────────
- pip 24.0 pyhd8ed1ab_0 conda-forge Cached
- python 3.12.3 h4a7b5fc_0_cpython conda-forge Cached
- setuptools 69.5.1 pyhd8ed1ab_0 conda-forge Cached
- wheel 0.43.0 pyhd8ed1ab_1 conda-forge Cached
- xz 5.2.6 h57fd34a_0 conda-forge Cached
- tzdata 2024a h0c530f3_0 conda-forge Cached
- tk 8.6.13 h5083fa2_1 conda-forge Cached
- readline 8.2 h92ec313_1 conda-forge Cached
- openssl 3.2.1 h0d3ecfb_1 conda-forge Cached
- libsqlite 3.45.3 h091b4b1_0 conda-forge Cached
- libffi 3.4.2 h3422bc3_5 conda-forge Cached
- libexpat 2.6.2 hebf3989_0 conda-forge Cached
- bzip2 1.0.8 h93a5062_5 conda-forge Cached
- ncurses 6.4.20240210 h078ce10_0 conda-forge Cached
- ca-certificates 2024.2.2 hf0a4a13_0 conda-forge Cached
- libzlib 1.2.13 h53f4e23_5 conda-forge Cached
Summary:
Remove: 16 packages
Total download: 0 B
───────────────────────────────────────────────────────────────────────────────
Transaction starting
Unlinking pip-24.0-pyhd8ed1ab_0
Unlinking python-3.12.3-h4a7b5fc_0_cpython
Unlinking setuptools-69.5.1-pyhd8ed1ab_0
Unlinking wheel-0.43.0-pyhd8ed1ab_1
Unlinking xz-5.2.6-h57fd34a_0
Unlinking tzdata-2024a-h0c530f3_0
Unlinking tk-8.6.13-h5083fa2_1
Unlinking readline-8.2-h92ec313_1
Unlinking openssl-3.2.1-h0d3ecfb_1
Unlinking libsqlite-3.45.3-h091b4b1_0
Unlinking libffi-3.4.2-h3422bc3_5
Unlinking libexpat-2.6.2-hebf3989_0
Unlinking bzip2-1.0.8-h93a5062_5
Unlinking ncurses-6.4.20240210-h078ce10_0
Unlinking ca-certificates-2024.2.2-hf0a4a13_0
Unlinking libzlib-1.2.13-h53f4e23_5
Transaction finished
To activate this environment, use:
micromamba activate /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Or to execute a single command in this environment, use:
micromamba run -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env mycommand
CondaPkg Creating environment
│ /Users/micciche/.julia/artifacts/98aba21a6802e06a5d2e7c48633d7dc1c3d4a749/bin/micromamba
│ -r /Users/micciche/.julia/scratchspaces/0b3b1443-0f03-428d-bdfb-f27f9c1191ea/root
│ create
│ -y
│ -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
│ --override-channels
│ --no-channel-priority
│ pip[version='>=22.0.0']
│ python[version='>=3.7,<4',channel='conda-forge',build='*cpython*']
└ -c conda-forge
conda-forge/osx-arm64 Using cache
conda-forge/noarch Using cache
Transaction
Prefix: /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Updating specs:
- pip[version='>=22.0.0']
- conda-forge::python[version='>=3.7,<4',build=*cpython*]
Package Version Build Channel Size
───────────────────────────────────────────────────────────────────────────────
Install:
───────────────────────────────────────────────────────────────────────────────
+ xz 5.2.6 h57fd34a_0 conda-forge Cached
+ libexpat 2.6.2 hebf3989_0 conda-forge Cached
+ ncurses 6.4.20240210 h078ce10_0 conda-forge Cached
+ bzip2 1.0.8 h93a5062_5 conda-forge Cached
+ libffi 3.4.2 h3422bc3_5 conda-forge Cached
+ libzlib 1.2.13 h53f4e23_5 conda-forge Cached
+ ca-certificates 2024.2.2 hf0a4a13_0 conda-forge Cached
+ readline 8.2 h92ec313_1 conda-forge Cached
+ tk 8.6.13 h5083fa2_1 conda-forge Cached
+ libsqlite 3.45.3 h091b4b1_0 conda-forge Cached
+ openssl 3.2.1 h0d3ecfb_1 conda-forge Cached
+ tzdata 2024a h0c530f3_0 conda-forge Cached
+ python 3.12.3 h4a7b5fc_0_cpython conda-forge Cached
+ wheel 0.43.0 pyhd8ed1ab_1 conda-forge Cached
+ setuptools 69.5.1 pyhd8ed1ab_0 conda-forge Cached
+ pip 24.0 pyhd8ed1ab_0 conda-forge Cached
Summary:
Install: 16 packages
Total download: 0 B
───────────────────────────────────────────────────────────────────────────────
Transaction starting
Linking xz-5.2.6-h57fd34a_0
Linking libexpat-2.6.2-hebf3989_0
Linking ncurses-6.4.20240210-h078ce10_0
Linking bzip2-1.0.8-h93a5062_5
Linking libffi-3.4.2-h3422bc3_5
Linking libzlib-1.2.13-h53f4e23_5
Linking ca-certificates-2024.2.2-hf0a4a13_0
Linking readline-8.2-h92ec313_1
Linking tk-8.6.13-h5083fa2_1
Linking libsqlite-3.45.3-h091b4b1_0
Linking openssl-3.2.1-h0d3ecfb_1
Linking tzdata-2024a-h0c530f3_0
Linking python-3.12.3-h4a7b5fc_0_cpython
Linking wheel-0.43.0-pyhd8ed1ab_1
Linking setuptools-69.5.1-pyhd8ed1ab_0
Linking pip-24.0-pyhd8ed1ab_0
Transaction finished
To activate this environment, use:
micromamba activate /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Or to execute a single command in this environment, use:
micromamba run -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env mycommand
CondaPkg Installing Pip packages
│ /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/bin/pip
│ install
│ ldpc
│ numpy
│ pymatching
└ scipy
Collecting ldpc
Using cached ldpc-0.1.51.tar.gz (367 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting numpy
Using cached numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB)
Collecting pymatching
Using cached PyMatching-2.2.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (16 kB)
Collecting scipy
Using cached scipy-1.13.0-cp312-cp312-macosx_12_0_arm64.whl.metadata (60 kB)
Collecting tqdm (from ldpc)
Using cached tqdm-4.66.2-py3-none-any.whl.metadata (57 kB)
Collecting networkx (from pymatching)
Using cached networkx-3.3-py3-none-any.whl.metadata (5.1 kB)
Collecting matplotlib (from pymatching)
Using cached matplotlib-3.8.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB)
Collecting contourpy>=1.0.1 (from matplotlib->pymatching)
Using cached contourpy-1.2.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB)
Collecting cycler>=0.10 (from matplotlib->pymatching)
Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->pymatching)
Using cached fonttools-4.51.0-cp312-cp312-macosx_10_9_universal2.whl.metadata (159 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib->pymatching)
Using cached kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.4 kB)
Collecting packaging>=20.0 (from matplotlib->pymatching)
Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting pillow>=8 (from matplotlib->pymatching)
Using cached pillow-10.3.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.2 kB)
Collecting pyparsing>=2.3.1 (from matplotlib->pymatching)
Using cached pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
Collecting python-dateutil>=2.7 (from matplotlib->pymatching)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->pymatching)
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Using cached numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl (13.7 MB)
Using cached PyMatching-2.2.0-cp312-cp312-macosx_11_0_arm64.whl (365 kB)
Using cached scipy-1.13.0-cp312-cp312-macosx_12_0_arm64.whl (30.4 MB)
Using cached matplotlib-3.8.4-cp312-cp312-macosx_11_0_arm64.whl (7.5 MB)
Using cached networkx-3.3-py3-none-any.whl (1.7 MB)
Using cached tqdm-4.66.2-py3-none-any.whl (78 kB)
Using cached contourpy-1.2.1-cp312-cp312-macosx_11_0_arm64.whl (245 kB)
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Using cached fonttools-4.51.0-cp312-cp312-macosx_10_9_universal2.whl (2.8 MB)
Using cached kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl (64 kB)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Using cached pillow-10.3.0-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB)
Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: ldpc
Building wheel for ldpc (pyproject.toml): started
Building wheel for ldpc (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for ldpc (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [85 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.0-arm64-cpython-312
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/codes.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/protograph.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/code_util.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/alist.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decode_sim.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
copying src/ldpc/tests/test_ring_of_circulants_f2.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
copying src/ldpc/tests/test_protograph.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
running egg_info
writing src/ldpc.egg-info/PKG-INFO
writing dependency_links to src/ldpc.egg-info/dependency_links.txt
writing requirements to src/ldpc.egg-info/requires.txt
writing top-level names to src/ldpc.egg-info/top_level.txt
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'src/ldpc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/ldpc/README.md'
warning: no files found matching 'src/ldpc/LICENSE'
adding license file 'LICENSE'
writing manifest file 'src/ldpc.egg-info/SOURCES.txt'
copying src/ldpc/VERSION -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/__init__.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/COPYRIGHT -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/README.md -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/binary_char.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/binary_char.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse_extra.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse_extra.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/sort.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/sort.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
running build_ext
building 'ldpc.bp_decoder' extension
creating build/temp.macosx-11.0-arm64-cpython-312
creating build/temp.macosx-11.0-arm64-cpython-312/src
creating build/temp.macosx-11.0-arm64-cpython-312/src/ldpc
creating build/temp.macosx-11.0-arm64-cpython-312/src/ldpc/include
/usr/local/opt/llvm/bin/clang -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include -arch arm64 -fPIC -O2 -isystem /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include -arch arm64 -I/usr/local/opt/llvm/include -I/private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include -Isrc/ldpc/include -I/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include/python3.12 -c src/ldpc/bp_decoder.c -o build/temp.macosx-11.0-arm64-cpython-312/src/ldpc/bp_decoder.o -std=c11
In file included from src/ldpc/bp_decoder.c:47:
/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include/python3.12/Python.h:23:12: fatal error: 'stdlib.h' file not found
# include <stdlib.h>
^~~~~~~~~~
1 error generated.
error: command '/usr/local/opt/llvm/bin/clang' 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 ldpc
Failed to build ldpc
ERROR: Could not build wheels for ldpc, which is required to install pyproject.toml-based projects
ERROR: LoadError: InitError: failed process: Process(`/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/bin/pip install ldpc numpy pymatching scipy`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ ./process.jl:565 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:480
[3] run(::Cmd)
@ Base ./process.jl:477
[4] _run(io::IO, cmd::Cmd, args::Any; flags::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:398
[5] (::CondaPkg.var"#37#38"{IOContext{Base.PipeEndpoint}, Vector{String}, Vector{String}, Vector{String}})()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:332
[6] withenv(f::Function)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/env.jl:44
[7] _resolve_pip_install(io::Any, pip_specs::Any, load_path::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:329
[8] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:549
[9] resolve()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:405
[10] envdir()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/env.jl:70
[11] init_context()
@ PythonCall.C ~/.julia/packages/PythonCall/bb3ax/src/C/context.jl:63
[12] __init__()
@ PythonCall.C ~/.julia/packages/PythonCall/bb3ax/src/C/C.jl:23
[13] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1134
[14] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1122
[15] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base ./loading.jl:1067
[16] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base ./loading.jl:1581
[17] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1938
[18] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1812
[19] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[20] invoke_in_world
@ ./essentials.jl:923 [inlined]
[21] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1803
[22] macro expansion
@ ./loading.jl:1790 [inlined]
[23] macro expansion
@ ./lock.jl:267 [inlined]
[24] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[25] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[26] invoke_in_world
@ ./essentials.jl:923 [inlined]
[27] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
[28] include
@ ./Base.jl:495 [inlined]
[29] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2222
[30] top-level scope
@ stdin:3
during initialization of module C
in expression starting at /Users/micciche/.julia/packages/PyQDecoders/nk69c/src/PyQDecoders.jl:1
in expression starting at stdin:3
✗ PyQDecoders
0 dependencies successfully precompiled in 48 seconds. 23 already precompiled.
ERROR: The following 1 direct dependency failed to precompile:
PyQDecoders [17f5de1a-9b79-4409-a58d-4d45812840f7]
Failed to precompile PyQDecoders [17f5de1a-9b79-4409-a58d-4d45812840f7] to "/Users/micciche/.julia/compiled/v1.10/PyQDecoders/jl_XdgcBE".
CondaPkg Found dependencies: /Users/micciche/.julia/packages/PythonCall/bb3ax/CondaPkg.toml
CondaPkg Found dependencies: /Users/micciche/.julia/packages/PyQDecoders/nk69c/CondaPkg.toml
CondaPkg Resolving changes
+ ldpc (pip)
+ numpy (pip)
+ pip
+ pymatching (pip)
+ python
+ scipy (pip)
CondaPkg Removing environment
│ /Users/micciche/.julia/artifacts/98aba21a6802e06a5d2e7c48633d7dc1c3d4a749/bin/micromamba
│ -r /Users/micciche/.julia/scratchspaces/0b3b1443-0f03-428d-bdfb-f27f9c1191ea/root
│ remove
│ -y
│ -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
└ --all
Transaction
Prefix: /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Removing specs:
- bzip2
- ca-certificates
- libexpat
- libffi
- libsqlite
- libzlib
- ncurses
- openssl
- pip
- python
- readline
- setuptools
- tk
- tzdata
- wheel
- xz
Package Version Build Channel Size
───────────────────────────────────────────────────────────────────────────────
Remove:
───────────────────────────────────────────────────────────────────────────────
- pip 24.0 pyhd8ed1ab_0 conda-forge Cached
- python 3.12.3 h4a7b5fc_0_cpython conda-forge Cached
- setuptools 69.5.1 pyhd8ed1ab_0 conda-forge Cached
- wheel 0.43.0 pyhd8ed1ab_1 conda-forge Cached
- xz 5.2.6 h57fd34a_0 conda-forge Cached
- tzdata 2024a h0c530f3_0 conda-forge Cached
- tk 8.6.13 h5083fa2_1 conda-forge Cached
- readline 8.2 h92ec313_1 conda-forge Cached
- openssl 3.2.1 h0d3ecfb_1 conda-forge Cached
- libsqlite 3.45.3 h091b4b1_0 conda-forge Cached
- libffi 3.4.2 h3422bc3_5 conda-forge Cached
- libexpat 2.6.2 hebf3989_0 conda-forge Cached
- bzip2 1.0.8 h93a5062_5 conda-forge Cached
- ncurses 6.4.20240210 h078ce10_0 conda-forge Cached
- ca-certificates 2024.2.2 hf0a4a13_0 conda-forge Cached
- libzlib 1.2.13 h53f4e23_5 conda-forge Cached
Summary:
Remove: 16 packages
Total download: 0 B
───────────────────────────────────────────────────────────────────────────────
Transaction starting
Unlinking pip-24.0-pyhd8ed1ab_0
Unlinking python-3.12.3-h4a7b5fc_0_cpython
Unlinking setuptools-69.5.1-pyhd8ed1ab_0
Unlinking wheel-0.43.0-pyhd8ed1ab_1
Unlinking xz-5.2.6-h57fd34a_0
Unlinking tzdata-2024a-h0c530f3_0
Unlinking tk-8.6.13-h5083fa2_1
Unlinking readline-8.2-h92ec313_1
Unlinking openssl-3.2.1-h0d3ecfb_1
Unlinking libsqlite-3.45.3-h091b4b1_0
Unlinking libffi-3.4.2-h3422bc3_5
Unlinking libexpat-2.6.2-hebf3989_0
Unlinking bzip2-1.0.8-h93a5062_5
Unlinking ncurses-6.4.20240210-h078ce10_0
Unlinking ca-certificates-2024.2.2-hf0a4a13_0
Unlinking libzlib-1.2.13-h53f4e23_5
Transaction finished
To activate this environment, use:
micromamba activate /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Or to execute a single command in this environment, use:
micromamba run -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env mycommand
CondaPkg Creating environment
│ /Users/micciche/.julia/artifacts/98aba21a6802e06a5d2e7c48633d7dc1c3d4a749/bin/micromamba
│ -r /Users/micciche/.julia/scratchspaces/0b3b1443-0f03-428d-bdfb-f27f9c1191ea/root
│ create
│ -y
│ -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
│ --override-channels
│ --no-channel-priority
│ pip[version='>=22.0.0']
│ python[version='>=3.7,<4',channel='conda-forge',build='*cpython*']
└ -c conda-forge
conda-forge/osx-arm64 Using cache
conda-forge/noarch Using cache
Transaction
Prefix: /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Updating specs:
- pip[version='>=22.0.0']
- conda-forge::python[version='>=3.7,<4',build=*cpython*]
Package Version Build Channel Size
───────────────────────────────────────────────────────────────────────────────
Install:
───────────────────────────────────────────────────────────────────────────────
+ xz 5.2.6 h57fd34a_0 conda-forge Cached
+ libexpat 2.6.2 hebf3989_0 conda-forge Cached
+ ncurses 6.4.20240210 h078ce10_0 conda-forge Cached
+ bzip2 1.0.8 h93a5062_5 conda-forge Cached
+ libffi 3.4.2 h3422bc3_5 conda-forge Cached
+ libzlib 1.2.13 h53f4e23_5 conda-forge Cached
+ ca-certificates 2024.2.2 hf0a4a13_0 conda-forge Cached
+ readline 8.2 h92ec313_1 conda-forge Cached
+ tk 8.6.13 h5083fa2_1 conda-forge Cached
+ libsqlite 3.45.3 h091b4b1_0 conda-forge Cached
+ openssl 3.2.1 h0d3ecfb_1 conda-forge Cached
+ tzdata 2024a h0c530f3_0 conda-forge Cached
+ python 3.12.3 h4a7b5fc_0_cpython conda-forge Cached
+ wheel 0.43.0 pyhd8ed1ab_1 conda-forge Cached
+ setuptools 69.5.1 pyhd8ed1ab_0 conda-forge Cached
+ pip 24.0 pyhd8ed1ab_0 conda-forge Cached
Summary:
Install: 16 packages
Total download: 0 B
───────────────────────────────────────────────────────────────────────────────
Transaction starting
Linking xz-5.2.6-h57fd34a_0
Linking libexpat-2.6.2-hebf3989_0
Linking ncurses-6.4.20240210-h078ce10_0
Linking bzip2-1.0.8-h93a5062_5
Linking libffi-3.4.2-h3422bc3_5
Linking libzlib-1.2.13-h53f4e23_5
Linking ca-certificates-2024.2.2-hf0a4a13_0
Linking readline-8.2-h92ec313_1
Linking tk-8.6.13-h5083fa2_1
Linking libsqlite-3.45.3-h091b4b1_0
Linking openssl-3.2.1-h0d3ecfb_1
Linking tzdata-2024a-h0c530f3_0
Linking python-3.12.3-h4a7b5fc_0_cpython
Linking wheel-0.43.0-pyhd8ed1ab_1
Linking setuptools-69.5.1-pyhd8ed1ab_0
Linking pip-24.0-pyhd8ed1ab_0
Transaction finished
To activate this environment, use:
micromamba activate /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env
Or to execute a single command in this environment, use:
micromamba run -p /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env mycommand
CondaPkg Installing Pip packages
│ /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/bin/pip
│ install
│ ldpc
│ numpy
│ pymatching
└ scipy
Collecting ldpc
Using cached ldpc-0.1.51.tar.gz (367 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting numpy
Using cached numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB)
Collecting pymatching
Using cached PyMatching-2.2.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (16 kB)
Collecting scipy
Using cached scipy-1.13.0-cp312-cp312-macosx_12_0_arm64.whl.metadata (60 kB)
Collecting tqdm (from ldpc)
Using cached tqdm-4.66.2-py3-none-any.whl.metadata (57 kB)
Collecting networkx (from pymatching)
Using cached networkx-3.3-py3-none-any.whl.metadata (5.1 kB)
Collecting matplotlib (from pymatching)
Using cached matplotlib-3.8.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB)
Collecting contourpy>=1.0.1 (from matplotlib->pymatching)
Using cached contourpy-1.2.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB)
Collecting cycler>=0.10 (from matplotlib->pymatching)
Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib->pymatching)
Using cached fonttools-4.51.0-cp312-cp312-macosx_10_9_universal2.whl.metadata (159 kB)
Collecting kiwisolver>=1.3.1 (from matplotlib->pymatching)
Using cached kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.4 kB)
Collecting packaging>=20.0 (from matplotlib->pymatching)
Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting pillow>=8 (from matplotlib->pymatching)
Using cached pillow-10.3.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.2 kB)
Collecting pyparsing>=2.3.1 (from matplotlib->pymatching)
Using cached pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB)
Collecting python-dateutil>=2.7 (from matplotlib->pymatching)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->pymatching)
Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Using cached numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl (13.7 MB)
Using cached PyMatching-2.2.0-cp312-cp312-macosx_11_0_arm64.whl (365 kB)
Using cached scipy-1.13.0-cp312-cp312-macosx_12_0_arm64.whl (30.4 MB)
Using cached matplotlib-3.8.4-cp312-cp312-macosx_11_0_arm64.whl (7.5 MB)
Using cached networkx-3.3-py3-none-any.whl (1.7 MB)
Using cached tqdm-4.66.2-py3-none-any.whl (78 kB)
Using cached contourpy-1.2.1-cp312-cp312-macosx_11_0_arm64.whl (245 kB)
Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB)
Using cached fonttools-4.51.0-cp312-cp312-macosx_10_9_universal2.whl (2.8 MB)
Using cached kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl (64 kB)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Using cached pillow-10.3.0-cp312-cp312-macosx_11_0_arm64.whl (3.4 MB)
Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB)
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: ldpc
Building wheel for ldpc (pyproject.toml): started
Building wheel for ldpc (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for ldpc (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [85 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-11.0-arm64-cpython-312
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/codes.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/protograph.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/__init__.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/code_util.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/alist.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decode_sim.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
copying src/ldpc/tests/test_ring_of_circulants_f2.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
copying src/ldpc/tests/test_protograph.py -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/tests
running egg_info
writing src/ldpc.egg-info/PKG-INFO
writing dependency_links to src/ldpc.egg-info/dependency_links.txt
writing requirements to src/ldpc.egg-info/requires.txt
writing top-level names to src/ldpc.egg-info/top_level.txt
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/arrayscalars.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarrayobject.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ndarraytypes.h won't be automatically included in the manifest: the path must be relative
dependency /private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include/numpy/ufuncobject.h won't be automatically included in the manifest: the path must be relative
reading manifest file 'src/ldpc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'src/ldpc/README.md'
warning: no files found matching 'src/ldpc/LICENSE'
adding license file 'LICENSE'
writing manifest file 'src/ldpc.egg-info/SOURCES.txt'
copying src/ldpc/VERSION -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/__init__.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/bp_decoder.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/c_util.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/mod2sparse.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.pxd -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
copying src/ldpc/osd.pyx -> build/lib.macosx-11.0-arm64-cpython-312/ldpc
creating build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/COPYRIGHT -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/README.md -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/binary_char.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/binary_char.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse_extra.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/mod2sparse_extra.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/sort.c -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
copying src/ldpc/include/sort.h -> build/lib.macosx-11.0-arm64-cpython-312/ldpc/include
running build_ext
building 'ldpc.bp_decoder' extension
creating build/temp.macosx-11.0-arm64-cpython-312
creating build/temp.macosx-11.0-arm64-cpython-312/src
creating build/temp.macosx-11.0-arm64-cpython-312/src/ldpc
creating build/temp.macosx-11.0-arm64-cpython-312/src/ldpc/include
/usr/local/opt/llvm/bin/clang -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include -arch arm64 -fPIC -O2 -isystem /Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include -arch arm64 -I/usr/local/opt/llvm/include -I/private/var/folders/w2/fgml03ld4zg98n4p23qrvzcc0000gn/T/pip-build-env-k9cfizyo/overlay/lib/python3.12/site-packages/numpy/core/include -Isrc/ldpc/include -I/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include/python3.12 -c src/ldpc/bp_decoder.c -o build/temp.macosx-11.0-arm64-cpython-312/src/ldpc/bp_decoder.o -std=c11
In file included from src/ldpc/bp_decoder.c:47:
/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/include/python3.12/Python.h:23:12: fatal error: 'stdlib.h' file not found
# include <stdlib.h>
^~~~~~~~~~
1 error generated.
error: command '/usr/local/opt/llvm/bin/clang' 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 ldpc
Failed to build ldpc
ERROR: Could not build wheels for ldpc, which is required to install pyproject.toml-based projects
ERROR: LoadError: InitError: failed process: Process(`/Users/micciche/Research/QuantumInfo23/JuliaProjects/some_new_folder/.CondaPkg/env/bin/pip install ldpc numpy pymatching scipy`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ ./process.jl:565 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:480
[3] run(::Cmd)
@ Base ./process.jl:477
[4] _run(io::IO, cmd::Cmd, args::Any; flags::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:398
[5] (::CondaPkg.var"#37#38"{IOContext{Base.PipeEndpoint}, Vector{String}, Vector{String}, Vector{String}})()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:332
[6] withenv(f::Function)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/env.jl:44
[7] _resolve_pip_install(io::Any, pip_specs::Any, load_path::Any)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:329
[8] resolve(; force::Bool, io::IO, interactive::Bool, dry_run::Bool)
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:549
[9] resolve()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/resolve.jl:405
[10] envdir()
@ CondaPkg ~/.julia/packages/CondaPkg/MmzxM/src/env.jl:70
[11] init_context()
@ PythonCall.C ~/.julia/packages/PythonCall/bb3ax/src/C/context.jl:63
[12] __init__()
@ PythonCall.C ~/.julia/packages/PythonCall/bb3ax/src/C/C.jl:23
[13] run_module_init(mod::Module, i::Int64)
@ Base ./loading.jl:1134
[14] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base ./loading.jl:1122
[15] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any})
@ Base ./loading.jl:1067
[16] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base ./loading.jl:1581
[17] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1938
[18] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1812
[19] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[20] invoke_in_world
@ ./essentials.jl:923 [inlined]
[21] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1803
[22] macro expansion
@ ./loading.jl:1790 [inlined]
[23] macro expansion
@ ./lock.jl:267 [inlined]
[24] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[25] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[26] invoke_in_world
@ ./essentials.jl:923 [inlined]
[27] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
[28] include
@ ./Base.jl:495 [inlined]
[29] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2222
[30] top-level scope
@ stdin:3
during initialization of module C
in expression starting at /Users/micciche/.julia/packages/PyQDecoders/nk69c/src/PyQDecoders.jl:1
in expression starting at stdin:
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types ~/.julia/juliaup/julia-1.10.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
[2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{…})
@ Pkg.API ~/.julia/juliaup/julia-1.10.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:1659
[3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
@ Pkg.API ~/.julia/juliaup/julia-1.10.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
[4] precompile
@ ~/.julia/juliaup/julia-1.10.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
[5] #precompile#114
@ ~/.julia/juliaup/julia-1.10.2+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
[6] #invokelatest#2
@ ./essentials.jl:894 [inlined]
[7] invokelatest
@ ./essentials.jl:889 [inlined]
[8] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1963
[9] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1812
[10] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[11] invoke_in_world
@ ./essentials.jl:923 [inlined]
[12] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1803
[13] macro expansion
@ ./loading.jl:1790 [inlined]
[14] macro expansion
@ ./lock.jl:267 [inlined]
[15] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[16] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[17] invoke_in_world
@ ./essentials.jl:923 [inlined]
[18] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
Some type information was truncated. Use `show(err)` to see complete types.
julia> versioninfo(verbose=true)
Julia Version 1.10.2
Commit bd47eca2c8a (2024-03-01 10:14 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
uname: Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 arm64 arm
CPU: Apple M1 Pro:
speed user nice sys idle irq
#1-10 2400 MHz 5076776 s 0 s 1636521 s 57530966 s 0 s
Memory: 16.0 GB (428.4375 MB free)
Uptime: 1.952713e6 sec
Load Avg: 3.2705078125 3.8427734375 4.2900390625
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 8 default, 0 interactive, 4 GC (on 8 virtual cores)
Environment:
PATH = /Users/micciche/.pyenv/shims:/usr/local/opt/llvm/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin:/Applications/VMware Fusion.app/Contents/Public:/Users/micciche/.pyenv/bin:/opt/homebrew/Caskroom/miniforge/base/condabin:/usr/local/opt/llvm/bin:/opt/homebrew/bin:/opt/homebrew/sbin
HOME = /Users/micciche
XPC_FLAGS = 0x0
HOMEBREW_PREFIX = /opt/homebrew
HOMEBREW_CELLAR = /opt/homebrew/Cellar
HOMEBREW_REPOSITORY = /opt/homebrew
MANPATH = /opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Library/TeX/Distributions/.DefaultTeX/Contents/Man:/opt/homebrew/share/man::
INFOPATH = /opt/homebrew/share/info:/opt/homebrew/share/info:
LDFLAGS = -L/usr/local/opt/llvm/lib
CPPFLAGS = -I/usr/local/opt/llvm/include
TERM = xterm-256color
@amicciche , your particular error happens because you do not have all necessary C-compiler infrastructure installed on your machine. The Python ldpc package requires a complete set of library headers. See for more info here: https://developer.apple.com/forums/thread/104296
The gist of it is:
xcode-select --install
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
(I do not know why python wants the legacy headers, probably just something outdated in the python package)
Some of our Python optional extensions (the ldpc python package) seem to fail to install on some mac systems. Adding CI for mac on x64 and arm.
@amicciche