cold-sugar-54376
08/18/2022, 2:48 AMnumpy
(for example):
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 20.3.4; however, version 22.2.2 is available.
This is on an M1 mac (12.5) with pants 2.12.0happy-kitchen-89482
08/18/2022, 3:38 AMhappy-kitchen-89482
08/18/2022, 3:39 AMhappy-kitchen-89482
08/18/2022, 3:40 AMcold-sugar-54376
08/18/2022, 3:50 AMcold-sugar-54376
08/18/2022, 3:51 AMcold-sugar-54376
08/18/2022, 3:51 AMhappy-kitchen-89482
08/18/2022, 4:23 AMhappy-kitchen-89482
08/18/2022, 4:25 AMpip install numpy==1.23.1
in a virtualenvhappy-kitchen-89482
08/18/2022, 4:25 AMcold-sugar-54376
08/18/2022, 4:43 AMcold-sugar-54376
08/18/2022, 4:47 AMCollecting numpy==1.23.1
Downloading numpy-1.23.1.tar.gz (10.7 MB)
|████████████████████████████████| 10.7 MB 14.7 MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: numpy
Building wheel for numpy (PEP 517) ... done
Created wheel for numpy: filename=numpy-1.23.1-cp39-cp39-macosx_12_0_arm64.whl size=5080188 sha256=40bc478bef790e163c1e73a5a4dd3ada5bee6a29a66ff35c12a5a800ef9dc665
Stored in directory: /Users/ashu/Library/Caches/pip/wheels/e9/08/af/c32ddeb26bf7cf91805eb7b3db6db127625aed4c121f7ad811
Successfully built numpy
Installing collected packages: numpy
Successfully installed numpy-1.23.1
cold-sugar-54376
08/18/2022, 5:03 AMassert tag in supported_tags, "would build wheel with unsupported tag {}".format(tag)
AssertionError: would build wheel with unsupported tag ('cp39', 'cp39', 'macosx_12_5_arm64')
cold-sugar-54376
08/18/2022, 5:03 AMhappy-kitchen-89482
08/18/2022, 3:21 PMcold-sugar-54376
08/18/2022, 5:36 PMcold-sugar-54376
08/18/2022, 5:37 PMpip install scipy==1.8.1
cold-sugar-54376
08/18/2022, 5:37 PMhappy-kitchen-89482
08/18/2022, 5:39 PM$ pip install scipy==1.8.1
Collecting scipy==1.8.1
Downloading scipy-1.8.1-cp39-cp39-macosx_12_0_arm64.whl (28.7 MB)
|████████████████████████████████| 28.7 MB 512 kB/s
Collecting numpy<1.25.0,>=1.17.3
Downloading numpy-1.23.2-cp39-cp39-macosx_11_0_arm64.whl (13.3 MB)
|████████████████████████████████| 13.3 MB 3.1 MB/s
Installing collected packages: numpy, scipy
Successfully installed numpy-1.23.2 scipy-1.8.1
WARNING: You are using pip version 20.3.4; however, version 22.2.2 is available.
happy-kitchen-89482
08/18/2022, 5:40 PMcold-sugar-54376
08/18/2022, 5:44 PMcold-sugar-54376
08/18/2022, 5:44 PMcold-sugar-54376
08/18/2022, 6:12 PMhappy-kitchen-89482
08/18/2022, 6:30 PMcold-sugar-54376
08/18/2022, 6:30 PMcold-sugar-54376
08/18/2022, 6:30 PMhappy-kitchen-89482
08/18/2022, 6:30 PMcold-sugar-54376
08/18/2022, 6:31 PMcold-sugar-54376
08/18/2022, 6:31 PMcold-sugar-54376
08/18/2022, 6:31 PMPKG_CONFIG_PATH="/opt/homebrew/opt/openblas/lib/pkgconfig" pip install scipy==1.9.0
cold-sugar-54376
08/18/2022, 6:31 PM./pants package
?cold-sugar-54376
08/18/2022, 6:31 PMPKG_CONFIG_PATH="/opt/homebrew/opt/openblas/lib/pkgconfig" ./pants package
it didn’t seem to workhappy-kitchen-89482
08/18/2022, 6:52 PMhappy-kitchen-89482
08/18/2022, 6:53 PMhappy-kitchen-89482
08/18/2022, 6:53 PMhappy-kitchen-89482
08/18/2022, 6:53 PMhappy-kitchen-89482
08/18/2022, 6:54 PMhappy-kitchen-89482
08/18/2022, 6:55 PMcold-sugar-54376
08/18/2022, 6:57 PMcold-sugar-54376
08/18/2022, 7:03 PM