-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hello,
It is a very amazing project. I really love it. But in the first step I got the error when I was trying to test something. Could you check it as below and share your feedback! Thanks!
(base) ~/ pip install tinyMPC
Collecting tinyMPC
Using cached tinympc-0.0.3.tar.gz (11 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.7 in /usr/local/Caskroom/miniconda/base/lib/python3.12/site-packages (from tinyMPC) (1.26.4)
Collecting scipy<1.12.0,>=0.13.2 (from tinyMPC)
Using cached scipy-1.11.4-cp312-cp312-macosx_10_9_x86_64.whl.metadata (60 kB)
Requirement already satisfied: setuptools in /usr/local/Caskroom/miniconda/base/lib/python3.12/site-packages (from tinyMPC) (72.1.0)
Using cached scipy-1.11.4-cp312-cp312-macosx_10_9_x86_64.whl (37.1 MB)
Building wheels for collected packages: tinyMPC
Building wheel for tinyMPC (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for tinyMPC (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [45 lines of output]
*** scikit-build-core 0.11.0 using CMake 3.31.6 (wheel)
*** Configuring CMake...
loading initial cache file /var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/tmp7rre0d9s/build/CMakeInit.txt
-- The C compiler identification is AppleClang 16.0.0.16000026
-- The CXX compiler identification is AppleClang 16.0.0.16000026
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/local/Caskroom/miniconda/base/bin/python (found suitable version "3.12.4", minimum required is "3.7") found components: Interpreter Development.Module Development.Embed
-- Performing Test HAS_FLTO_THIN
-- Performing Test HAS_FLTO_THIN - Success
-- Found pybind11: /private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/pip-build-env-kohzde2f/overlay/lib/python3.12/site-packages/pybind11/include (found version "2.13.6")
-- Fetching/configuring TinyMPC
[1/9] Creating directories for 'tinympc-populate'
[1/9] Performing download step (git clone) for 'tinympc-populate'
Cloning to 'tinympc-src'...
Fatal error: Invalid reference: sam-dev-python
CMake Error at tinympc-subbuild/tinympc-populate-prefix/tmp/tinympc-populate-gitclone.cmake:61 (message):
Failed to checkout tag: 'sam-dev-python'
FAILED: tinympc-populate-prefix/src/tinympc-populate-stamp/tinympc-populate-download /private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/tmp7rre0d9s/build/_deps/tinympc-subbuild/tinympc-populate-prefix/src/tinympc-populate-stamp/tinympc-populate-download
cd /var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/tmp7rre0d9s/build/_deps && /private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/pip-build-env-kohzde2f/normal/lib/python3.12/site-packages/cmake/data/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/tmp7rre0d9s/build/_deps/tinympc-subbuild/tinympc-populate-prefix/tmp/tinympc-populate-gitclone.cmake && /private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/pip-build-env-kohzde2f/normal/lib/python3.12/site-packages/cmake/data/bin/cmake -E touch /private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/tmp7rre0d9s/build/_deps/tinympc-subbuild/tinympc-populate-prefix/src/tinympc-populate-stamp/tinympc-populate-download
ninja: build stopped: subcommand failed.
CMake Error at /private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/pip-build-env-kohzde2f/normal/lib/python3.12/site-packages/cmake/data/share/cmake-3.31/Modules/FetchContent.cmake:1918 (message):
Build step for tinympc failed: 1
Call Stack (most recent call first):
/private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/pip-build-env-kohzde2f/normal/lib/python3.12/site-packages/cmake/data/share/cmake-3.31/Modules/FetchContent.cmake:1609 (__FetchContent_populateSubbuild)
/private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/pip-build-env-kohzde2f/normal/lib/python3.12/site-packages/cmake/data/share/cmake-3.31/Modules/FetchContent.cmake:2145:EVAL:2 (__FetchContent_doPopulation)
/private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/pip-build-env-kohzde2f/normal/lib/python3.12/site-packages/cmake/data/share/cmake-3.31/Modules/FetchContent.cmake:2145 (cmake_language)
/private/var/folders/nj/tdm7z3mx4xl_lqvp65pzmd000000gn/T/pip-build-env-kohzde2f/normal/lib/python3.12/site-packages/cmake/data/share/cmake-3.31/Modules/FetchContent.cmake:2384 (__FetchContent_Populate)
CMakeLists.txt:21 (FetchContent_MakeAvailable)
-- Configuring incomplete, errors occurred!
*** CMake configuration failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tinyMPC
Failed to build tinyMPC
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tinyMPC)
(base) ~/
Metadata
Metadata
Assignees
Labels
No labels