Open TheUnlimited64 opened 1 year ago
Based on the error message you shared, it appears that the setup.py script for the sentencepiece package was unable to install successfully. There could be several reasons for this, including missing dependencies, conflicts with other packages, or issues with the setup script itself.
I noticed that one of the errors in the output indicates that the pkg-config and cmake utilities are not installed on your system. It may be necessary to install these dependencies before attempting to install sentencepiece again.
Another error in the output suggests that the sentencepiece directory already exists and is not an empty directory. To resolve this, you might need to remove this directory or its contents before attempting to install sentencepiece again.
Thanks for the quick reply, I just installed cmake and pkg-config (which was already installed)
But still no luck, but new Error:
/mnt/c/Users/theun/Desktop/llama.cpp master sudo npm i -g dalai ✔
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/dalai
npm ERR! command failed
npm ERR! command sh -c node setup
npm ERR! mkdir /root/dalai
npm ERR! exec: apt-get install build-essential python3-venv -y in undefined
npm ERR! apt-get install build-essential python3-venv -y
npm ERR! exit
npm ERR! ┌──(root㉿Surface)-[/usr/local/lib/node_modules/dalai]
npm ERR! └─# apt-get install build-essential python3-venv -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
npm ERR! build-essential is already the newest version (12.9).
npm ERR! python3-venv is already the newest version (3.11.1-3).
npm ERR! The following packages were automatically installed and are no longer required:
npm ERR! kactivities-bin kactivitymanagerd kded5 kdiff3-doc kio kpackagelauncherqml kpackagetool5 kwayland-data kwayland-integration libdbusmenu-qt5-2 libgpgmepp6 libhfstospell11 libkf5activities5
npm ERR! libkf5activitiesstats1 libkf5archive-data libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5authcore5 libkf5codecs-data libkf5codecs5 libkf5completion-data libkf5completion5
npm ERR! libkf5config-bin libkf5config-data libkf5configcore5 libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5coreaddons-data libkf5coreaddons5 libkf5crash5 libkf5dbusaddons-bin
npm ERR! libkf5dbusaddons-data libkf5dbusaddons5 libkf5declarative-data libkf5declarative5 libkf5doctools5 libkf5globalaccel-bin libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5
npm ERR! libkf5guiaddons-bin libkf5guiaddons-data libkf5guiaddons5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5 libkf5idletime5 libkf5itemmodels5
npm ERR! libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data libkf5jobwidgets5 libkf5kcmutils-bin libkf5kcmutils-data libkf5kcmutils5 libkf5kcmutilscore5 libkf5kiocore5 libkf5kiogui5 libkf5kiontlm5
npm ERR! libkf5kiowidgets5 libkf5kirigami2-5 libkf5newstuffcore5 libkf5notifications-data libkf5notifications5 libkf5package-data libkf5package5 libkf5parts-data libkf5parts-plugins libkf5parts5
npm ERR! libkf5plasma5 libkf5quickaddons5 libkf5runner5 libkf5service-bin libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5
npm ERR! libkf5syndication5abi1 libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5 libkf5wallet-bin libkf5wallet-data libkf5wallet5 libkf5waylandclient5 libkf5widgetsaddons-data
npm ERR! libkf5widgetsaddons5 libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5 libkwalletbackend5-5 libkworkspace5-5 libmpdec3 libpolkit-qt5-1-1
npm ERR! libpython3.10-minimal libpython3.10-stdlib libqca-qt5-2 libqca-qt5-2-plugins libqt5printsupport5 libqt5qmlworkerscript5 libqt5quickcontrols2-5 libqt5quickshapes5 libqt5quicktemplates2-5
npm ERR! libqt5quickwidgets5 libqt5sql5 libqt5sql5-sqlite libqt5texttospeech5 libqt5xml5 libvoikko1 libxcb-record0 libxcb-res0 media-player-info python3.10 python3.10-minimal qml-module-org-kde-kcm
npm ERR! qml-module-org-kde-kcmutils qml-module-org-kde-kirigami2 qml-module-org-kde-kitemmodels qml-module-org-kde-newstuff qml-module-org-kde-runnermodel qml-module-qtgraphicaleffects qml-module-qtqml
npm ERR! qml-module-qtqml-models2 qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-shapes qml-module-qtquick-templates2 qml-module-qtquick-window2
npm ERR! qml-module-qtquick2 qtspeech5-speechd-plugin sonnet-plugins systemsettings
npm ERR! Use 'sudo apt autoremove' to remove them.
npm ERR! 0 upgraded, 0 newly installed, 0 to remove and 878 not upgraded.
npm ERR!
npm ERR! ┌──(root㉿Surface)-[/usr/local/lib/node_modules/dalai]
npm ERR! └─# exit
exitERR!
npm ERR! # EXIT { exitCode: 0, signal: 0 }
npm ERR! exec: python3 -m venv /root/dalai/venv in undefined
npm ERR! python3 -m venv /root/dalai/venv
npm ERR! exit
npm ERR! ┌──(root㉿Surface)-[/usr/local/lib/node_modules/dalai]
npm ERR! └─# python3 -m venv /root/dalai/venv
npm ERR!
npm ERR! ┌──(root㉿Surface)-[/usr/local/lib/node_modules/dalai]
npm ERR! └─# exit
exitERR!
npm ERR! # EXIT { exitCode: 0, signal: 0 }
npm ERR! exec: /root/dalai/venv/bin/pip install --upgrade pip setuptools wheel in undefined
npm ERR! /root/dalai/venv/bin/pip install --upgrade pip setuptools wheel
npm ERR! exit
npm ERR! ┌──(root㉿Surface)-[/usr/local/lib/node_modules/dalai]
npm ERR! └─# /root/dalai/venv/bin/pip install --upgrade pip setuptools wheel
Requirement already satisfied: pip in /root/dalai/venv/lib/python3.11/site-packages (23.0.1)
npm ERR! Requirement already satisfied: setuptools in /root/dalai/venv/lib/python3.11/site-packages (67.6.0)
npm ERR! Requirement already satisfied: wheel in /root/dalai/venv/lib/python3.11/site-packages (0.40.0)
npm ERR!
npm ERR! ┌──(root㉿Surface)-[/usr/local/lib/node_modules/dalai]
npm ERR! └─# exit
exitERR!
npm ERR! # EXIT { exitCode: 0, signal: 0 }
npm ERR! exec: /root/dalai/venv/bin/pip install torch torchvision torchaudio sentencepiece numpy in undefined
npm ERR! /root/dalai/venv/bin/pip install torch torchvision torchaudio sentencepiece numpy
npm ERR! exit
npm ERR! ┌──(root㉿Surface)-[/usr/local/lib/node_modules/dalai]
npm ERR! └─# /root/dalai/venv/bin/pip install torch torchvision torchaudio sentencepiece numpy
Collecting torch
npm ERR! Using cached torch-2.0.0-cp311-cp311-manylinux1_x86_64.whl (619.9 MB)
npm ERR! Collecting torchvision
npm ERR! Using cached torchvision-0.15.1-cp311-cp311-manylinux1_x86_64.whl (6.0 MB)
npm ERR! Collecting torchaudio
npm ERR! Using cached torchaudio-2.0.1-cp311-cp311-manylinux1_x86_64.whl (4.4 MB)
npm ERR! Collecting sentencepiece
npm ERR! Using cached sentencepiece-0.1.97.tar.gz (524 kB)
npm ERR! Preparing metadata (setup.py) ... done
npm ERR! Collecting numpy
npm ERR! Using cached numpy-1.24.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
npm ERR! Collecting filelock
npm ERR! Using cached filelock-3.10.0-py3-none-any.whl (9.9 kB)
npm ERR! Collecting typing-extensions
npm ERR! Using cached typing_extensions-4.5.0-py3-none-any.whl (27 kB)
npm ERR! Collecting sympy
npm ERR! Using cached sympy-1.11.1-py3-none-any.whl (6.5 MB)
npm ERR! Collecting networkx
npm ERR! Using cached networkx-3.0-py3-none-any.whl (2.0 MB)
npm ERR! Collecting jinja2
npm ERR! Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
npm ERR! Collecting nvidia-cuda-nvrtc-cu11==11.7.99
npm ERR! Using cached nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl (21.0 MB)
npm ERR! Collecting nvidia-cuda-runtime-cu11==11.7.99
npm ERR! Using cached nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl (849 kB)
npm ERR! Collecting nvidia-cuda-cupti-cu11==11.7.101
npm ERR! Using cached nvidia_cuda_cupti_cu11-11.7.101-py3-none-manylinux1_x86_64.whl (11.8 MB)
npm ERR! Collecting nvidia-cudnn-cu11==8.5.0.96
npm ERR! Using cached nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl (557.1 MB)
npm ERR! Collecting nvidia-cublas-cu11==11.10.3.66
npm ERR! Using cached nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl (317.1 MB)
npm ERR! Collecting nvidia-cufft-cu11==10.9.0.58
npm ERR! Using cached nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux1_x86_64.whl (168.4 MB)
npm ERR! Collecting nvidia-curand-cu11==10.2.10.91
npm ERR! Using cached nvidia_curand_cu11-10.2.10.91-py3-none-manylinux1_x86_64.whl (54.6 MB)
npm ERR! Collecting nvidia-cusolver-cu11==11.4.0.1
npm ERR! Using cached nvidia_cusolver_cu11-11.4.0.1-2-py3-none-manylinux1_x86_64.whl (102.6 MB)
npm ERR! Collecting nvidia-cusparse-cu11==11.7.4.91
npm ERR! Using cached nvidia_cusparse_cu11-11.7.4.91-py3-none-manylinux1_x86_64.whl (173.2 MB)
npm ERR! Collecting nvidia-nccl-cu11==2.14.3
npm ERR! Using cached nvidia_nccl_cu11-2.14.3-py3-none-manylinux1_x86_64.whl (177.1 MB)
npm ERR! Collecting nvidia-nvtx-cu11==11.7.91
npm ERR! Using cached nvidia_nvtx_cu11-11.7.91-py3-none-manylinux1_x86_64.whl (98 kB)
npm ERR! Collecting triton==2.0.0
npm ERR! Using cached triton-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (63.3 MB)
npm ERR! Requirement already satisfied: setuptools in /root/dalai/venv/lib/python3.11/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch) (67.6.0)
npm ERR! Requirement already satisfied: wheel in /root/dalai/venv/lib/python3.11/site-packages (from nvidia-cublas-cu11==11.10.3.66->torch) (0.40.0)
npm ERR! Collecting cmake
npm ERR! Using cached cmake-3.26.0-py2.py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (24.0 MB)
npm ERR! Collecting lit
npm ERR! Using cached lit-15.0.7-py3-none-any.whl
npm ERR! Collecting requests
npm ERR! Using cached requests-2.28.2-py3-none-any.whl (62 kB)
npm ERR! Collecting pillow!=8.3.*,>=5.3.0
npm ERR! Using cached Pillow-9.4.0-cp311-cp311-manylinux_2_28_x86_64.whl (3.4 MB)
npm ERR! Collecting MarkupSafe>=2.0
npm ERR! Using cached MarkupSafe-2.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (27 kB)
npm ERR! Collecting charset-normalizer<4,>=2
npm ERR! Using cached charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (197 kB)
npm ERR! Collecting idna<4,>=2.5
npm ERR! Using cached idna-3.4-py3-none-any.whl (61 kB)
npm ERR! Collecting urllib3<1.27,>=1.21.1
npm ERR! Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
npm ERR! Collecting certifi>=2017.4.17
npm ERR! Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
npm ERR! Collecting mpmath>=0.19
npm ERR! Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
npm ERR! Building wheels for collected packages: sentencepiece
npm ERR! Building wheel for sentencepiece (setup.py) ... error
npm ERR! error: subprocess-exited-with-error
npm ERR!
npm ERR! × python setup.py bdist_wheel did not run successfully.
npm ERR! │ exit code: 1
npm ERR! ╰─> [1307 lines of output]
npm ERR! running bdist_wheel
npm ERR! running build
npm ERR! running build_py
npm ERR! creating build
npm ERR! creating build/lib.linux-x86_64-cpython-311
npm ERR! creating build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! copying src/sentencepiece/__init__.py -> build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! copying src/sentencepiece/_version.py -> build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! running build_ext
npm ERR! Package sentencepiece was not found in the pkg-config search path.
npm ERR! Perhaps you should add the directory containing `sentencepiece.pc'
npm ERR! to the PKG_CONFIG_PATH environment variable
npm ERR! Package 'sentencepiece', required by 'virtual:world', not found
npm ERR! Cloning into 'sentencepiece'...
npm ERR! Note: switching to '58f256cf6f01bb86e6fa634a5cc560de5bd1667d'.
npm ERR!
npm ERR! You are in 'detached HEAD' state. You can look around, make experimental
npm ERR! changes and commit them, and you can discard any commits you make in this
npm ERR! state without impacting any branches by switching back to a branch.
npm ERR!
npm ERR! If you want to create a new branch to retain commits you create, you may
npm ERR! do so (now or later) by using -c with the switch command. Example:
npm ERR!
npm ERR! git switch -c <new-branch-name>
npm ERR!
npm ERR! Or undo this operation with:
npm ERR!
npm ERR! git switch -
npm ERR!
npm ERR! Turn off this advice by setting config variable advice.detachedHead to false
npm ERR!
npm ERR! -- VERSION: 0.1.97
npm ERR! -- The C compiler identification is GNU 12.2.0
npm ERR! -- The CXX compiler identification is GNU 12.2.0
npm ERR! -- Detecting C compiler ABI info
npm ERR! -- Detecting C compiler ABI info - done
npm ERR! -- Check for working C compiler: /usr/bin/cc - skipped
npm ERR! -- Detecting C compile features
npm ERR! -- Detecting C compile features - done
npm ERR! -- Detecting CXX compiler ABI info
npm ERR! -- Detecting CXX compiler ABI info - done
npm ERR! -- Check for working CXX compiler: /usr/bin/c++ - skipped
npm ERR! -- Detecting CXX compile features
npm ERR! -- Detecting CXX compile features - done
npm ERR! -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
npm ERR! -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
npm ERR! -- Found Threads: TRUE
npm ERR! -- Not Found TCMalloc: TCMALLOC_LIB-NOTFOUND
npm ERR! -- Configuring done
npm ERR! -- Generating done
npm ERR! -- Build files have been written to: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled
npm ERR! [ 1%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/builder.cc.o
npm ERR! [ 3%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/trainer_interface.cc.o
npm ERR! [ 4%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/arenastring.cc.o
npm ERR! [ 6%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/arena.cc.o
npm ERR! [ 8%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/unigram_model_trainer.cc.o
npm ERR! [ 9%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/trainer_factory.cc.o
npm ERR! [ 11%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/unicode_script.cc.o
npm ERR! [ 12%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/word_model_trainer.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/arenastring.cc:35:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/arenastring.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/arenastring.cc:31:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/unigram_model_trainer.h:23,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/unigram_model_trainer.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/memory:63,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/unigram_model_trainer.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/bpe_model_trainer.h:24,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/trainer_factory.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/bits/stl_tree.h:63,
npm ERR! from /usr/include/c++/12/set:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/bpe_model_trainer.h:20:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builder.h:23,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builder.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/bits/stl_tree.h:63,
npm ERR! from /usr/include/c++/12/map:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builder.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/trainer_interface.h:27,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/trainer_interface.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/algorithm:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/trainer_interface.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 14%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/bytestream.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/word_model.h:18,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/word_model_trainer.cc:21:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/bits/specfun.h:45,
npm ERR! from /usr/include/c++/12/cmath:1935,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/word_model_trainer.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 16%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/coded_stream.cc.o
npm ERR! [ 17%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/common.cc.o
npm ERR! [ 19%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/char_model_trainer.cc.o
npm ERR! [ 20%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/extension_set.cc.o
npm ERR! [ 22%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/bpe_model_trainer.cc.o
npm ERR! [ 24%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_enum_util.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/char_model.h:18,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/char_model_trainer.cc:17:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/bits/specfun.h:45,
npm ERR! from /usr/include/c++/12/cmath:1935,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/char_model_trainer.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/extension_set.h:50,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/extension_set.cc:35:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/algorithm:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/extension_set.h:41:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_util.h:51,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/generated_enum_util.cc:35:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/message_lite.h:43,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_enum_util.h:36,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/generated_enum_util.cc:31:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/bpe_model_trainer.h:24,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/bpe_model_trainer.cc:20:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/algorithm:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/bpe_model_trainer.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 25%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_message_table_driven_lite.cc.o
npm ERR! [ 27%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/sentencepiece_trainer.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/extension_set.h:50,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:35,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/generated_message_table_driven_lite.cc:31:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/memory:63,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl_lite.h:49,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven_lite.h:34:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 29%] Building CXX object src/CMakeFiles/sentencepiece_train-static.dir/pretokenizer_for_training.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builder.h:23,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/sentencepiece_trainer.cc:18:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/sentencepiece_trainer.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 30%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/generated_message_util.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/pretokenizer_for_training.h:22,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/pretokenizer_for_training.cc:16:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/pretokenizer_for_training.cc:14:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 32%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/implicit_weak_message.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_util.h:51,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/generated_message_util.cc:35:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_util.h:45:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 33%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/int128.cc.o
npm ERR! [ 35%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/io_win32.cc.o
npm ERR! [ 37%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/message_lite.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/implicit_weak_message.cc:31:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:34:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 38%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/parse_context.cc.o
npm ERR! [ 40%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/repeated_field.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/message_lite.cc:45:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/message_lite.h:43,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/message_lite.cc:36:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 41%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/status.cc.o
npm ERR! [ 43%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/statusor.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/parse_context.cc:31:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:36:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/repeated_field.cc:35:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/iterator:61,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:55:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 45%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/stringpiece.cc.o
npm ERR! [ 46%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/stringprintf.cc.o
npm ERR! [ 48%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/structurally_valid.cc.o
npm ERR! [ 50%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/strutil.cc.o
npm ERR! [ 51%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/time.cc.o
npm ERR! [ 53%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/wire_format_lite.cc.o
npm ERR! [ 54%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream.cc.o
npm ERR! [ 56%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream_impl.cc.o
npm ERR! [ 59%] Linking CXX static library libsentencepiece_train.a
npm ERR! [ 59%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/protobuf-lite/zero_copy_stream_impl_lite.cc.o
npm ERR! [ 59%] Built target sentencepiece_train-static
npm ERR! [ 61%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/builtin_pb/sentencepiece.pb.cc.o
npm ERR! [ 62%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/builtin_pb/sentencepiece_model.pb.cc.o
npm ERR! [ 64%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/bpe_model.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/wire_format_lite.h:51,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/third_party/protobuf-lite/wire_format_lite.cc:35:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/wire_format_lite.h:43:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 66%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/char_model.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:4:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece.pb.h:8:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 67%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/error.cc.o
npm ERR! [ 69%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/filesystem.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.cc:4:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:8:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/bpe_model.h:18,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/bpe_model.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/memory:63,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 70%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/model_factory.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/char_model.h:18,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/char_model.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/memory:63,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 72%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/model_interface.cc.o
npm ERR! [ 74%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/normalizer.cc.o
npm ERR! [ 75%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/sentencepiece_processor.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/bpe_model.h:18,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_factory.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/memory:63,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 77%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/unigram_model.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.cc:17:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/algorithm:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/memory:63,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 79%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/util.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_factory.h:20,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/sentencepiece_processor.cc:23:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/memory:63,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/sentencepiece_processor.h:19,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/sentencepiece_processor.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 80%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/word_model.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/unigram_model.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/unigram_model.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/memory:63,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/unigram_model.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 82%] Building CXX object src/CMakeFiles/sentencepiece-static.dir/__/third_party/absl/flags/flag.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/normalizer.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/model_interface.h:25,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/word_model.h:18,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/word_model.cc:16:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/algorithm:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/util.h:21,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/word_model.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 83%] Linking CXX static library libsentencepiece.a
npm ERR! [ 83%] Built target sentencepiece-static
npm ERR! [ 87%] Building CXX object src/CMakeFiles/spm_encode.dir/spm_encode_main.cc.o
npm ERR! [ 87%] Building CXX object src/CMakeFiles/spm_normalize.dir/spm_normalize_main.cc.o
npm ERR! [ 88%] Building CXX object src/CMakeFiles/spm_decode.dir/spm_decode_main.cc.o
npm ERR! [ 90%] Building CXX object src/CMakeFiles/spm_train.dir/spm_train_main.cc.o
npm ERR! [ 91%] Building CXX object src/CMakeFiles/spm_export_vocab.dir/spm_export_vocab_main.cc.o
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builder.h:23,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_normalize_main.cc:15:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/bits/stl_tree.h:63,
npm ERR! from /usr/include/c++/12/map:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builder.h:18:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_export_vocab_main.cc:21:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/string:45,
npm ERR! from /usr/include/c++/12/bits/locale_classes.h:40,
npm ERR! from /usr/include/c++/12/bits/ios_base.h:41,
npm ERR! from /usr/include/c++/12/ios:42,
npm ERR! from /usr/include/c++/12/istream:38,
npm ERR! from /usr/include/c++/12/sstream:38,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_export_vocab_main.cc:16:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_train_main.cc:19:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_algobase.h:65,
npm ERR! from /usr/include/c++/12/bits/stl_tree.h:63,
npm ERR! from /usr/include/c++/12/map:60,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_train_main.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_decode_main.cc:22:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_construct.h:61,
npm ERR! from /usr/include/c++/12/bits/alloc_traits.h:33,
npm ERR! from /usr/include/c++/12/ext/alloc_traits.h:34,
npm ERR! from /usr/include/c++/12/unordered_map:41,
npm ERR! from /usr/include/c++/12/functional:61,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_decode_main.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! In file included from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h:39,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h:42,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map_type_handler.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/map.h:56,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_table_driven.h:34,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/builtin_pb/sentencepiece.pb.h:26,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_encode_main.cc:22:
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2672:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2672 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! In file included from /usr/include/c++/12/bits/stl_construct.h:61,
npm ERR! from /usr/include/c++/12/bits/alloc_traits.h:33,
npm ERR! from /usr/include/c++/12/ext/alloc_traits.h:34,
npm ERR! from /usr/include/c++/12/unordered_map:41,
npm ERR! from /usr/include/c++/12/functional:61,
npm ERR! from /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/spm_encode_main.cc:15:
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2694:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2694 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2725:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2725 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h:2749:19: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
npm ERR! 2749 | : public std::iterator<std::output_iterator_tag, T> {
npm ERR! | ^~~~~~~~
npm ERR! /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here
npm ERR! 127 | struct _GLIBCXX17_DEPRECATED iterator
npm ERR! | ^~~~~~~~
npm ERR! [ 93%] Linking CXX executable spm_export_vocab
npm ERR! [ 93%] Built target spm_export_vocab
npm ERR! [ 95%] Linking CXX executable spm_normalize
npm ERR! [ 95%] Built target spm_normalize
npm ERR! [ 96%] Linking CXX executable spm_train
npm ERR! [ 98%] Linking CXX executable spm_decode
npm ERR! [ 98%] Built target spm_train
npm ERR! [ 98%] Built target spm_decode
npm ERR! [100%] Linking CXX executable spm_encode
npm ERR! [100%] Built target spm_encode
npm ERR! Install the project...
npm ERR! -- Install configuration: ""
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/lib/pkgconfig/sentencepiece.pc
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/lib/libsentencepiece.a
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/lib/libsentencepiece_train.a
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/bin/spm_encode
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/bin/spm_decode
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/bin/spm_normalize
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/bin/spm_train
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/bin/spm_export_vocab
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/include/sentencepiece_trainer.h
npm ERR! -- Installing: /tmp/pip-install-qnq5t6oo/sentencepiece_8ce75445e7ed4727a5a56e4681423ee2/bundled/root/include/sentencepiece_processor.h
npm ERR! ## cflags=-std=c++17 -I./bundled/root/include -Wl,-strip-all
npm ERR! ## libs=./bundled/root/lib/libsentencepiece.a ./bundled/root/lib/libsentencepiece_train.a -Wl,-strip-all
npm ERR! building 'sentencepiece._sentencepiece' extension
npm ERR! creating build/temp.linux-x86_64-cpython-311
npm ERR! creating build/temp.linux-x86_64-cpython-311/src
npm ERR! creating build/temp.linux-x86_64-cpython-311/src/sentencepiece
npm ERR! x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/root/dalai/venv/include -I/usr/include/python3.11 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.linux-x86_64-cpython-311/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I./bundled/root/include -Wl,-strip-all
npm ERR! src/sentencepiece/sentencepiece_wrap.cxx:178:11: fatal error: Python.h: No such file or directory
npm ERR! 178 | # include <Python.h>
npm ERR! | ^~~~~~~~~~
npm ERR! compilation terminated.
npm ERR! error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
npm ERR! [end of output]
npm ERR!
npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.
npm ERR! ERROR: Failed building wheel for sentencepiece
npm ERR! Running setup.py clean for sentencepiece
npm ERR! Failed to build sentencepiece
npm ERR! Installing collected packages: sentencepiece, mpmath, lit, cmake, urllib3, typing-extensions, sympy, pillow, nvidia-nvtx-cu11, nvidia-nccl-cu11, nvidia-cusparse-cu11, nvidia-curand-cu11, nvidia-cufft-cu11, nvidia-cuda-runtime-cu11, nvidia-cuda-nvrtc-cu11, nvidia-cuda-cupti-cu11, nvidia-cublas-cu11, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, nvidia-cusolver-cu11, nvidia-cudnn-cu11, jinja2, triton, torch, torchvision, torchaudio
npm ERR! Running setup.py install for sentencepiece ... error
npm ERR! error: subprocess-exited-with-error
npm ERR!
npm ERR! × Running setup.py install for sentencepiece did not run successfully.
npm ERR! │ exit code: 1
npm ERR! ╰─> [25 lines of output]
npm ERR! running install
npm ERR! /root/dalai/venv/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
npm ERR! warnings.warn(
npm ERR! running build
npm ERR! running build_py
npm ERR! creating build
npm ERR! creating build/lib.linux-x86_64-cpython-311
npm ERR! creating build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! copying src/sentencepiece/__init__.py -> build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! copying src/sentencepiece/_version.py -> build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! copying src/sentencepiece/sentencepiece_model_pb2.py -> build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! copying src/sentencepiece/sentencepiece_pb2.py -> build/lib.linux-x86_64-cpython-311/sentencepiece
npm ERR! running build_ext
npm ERR! ## cflags=-std=c++17 -I./bundled/root/include -Wl,-strip-all
npm ERR! ## libs=./bundled/root/lib/libsentencepiece.a ./bundled/root/lib/libsentencepiece_train.a -Wl,-strip-all
npm ERR! building 'sentencepiece._sentencepiece' extension
npm ERR! creating build/temp.linux-x86_64-cpython-311
npm ERR! creating build/temp.linux-x86_64-cpython-311/src
npm ERR! creating build/temp.linux-x86_64-cpython-311/src/sentencepiece
npm ERR! x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/root/dalai/venv/include -I/usr/include/python3.11 -c src/sentencepiece/sentencepiece_wrap.cxx -o build/temp.linux-x86_64-cpython-311/src/sentencepiece/sentencepiece_wrap.o -std=c++17 -I./bundled/root/include -Wl,-strip-all
npm ERR! src/sentencepiece/sentencepiece_wrap.cxx:178:11: fatal error: Python.h: No such file or directory
npm ERR! 178 | # include <Python.h>
npm ERR! | ^~~~~~~~~~
npm ERR! compilation terminated.
npm ERR! error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
npm ERR! [end of output]
npm ERR!
npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.
npm ERR! error: legacy-install-failure
npm ERR!
npm ERR! × Encountered error while trying to install package.
npm ERR! ╰─> sentencepiece
npm ERR!
npm ERR! note: This is an issue with the package mentioned above, not pip.
npm ERR! hint: See above for output from the failure.
npm ERR!
npm ERR! ┌──(root㉿Surface)-[/usr/local/lib/node_modules/dalai]
npm ERR! └─# exit
exitERR!
npm ERR! # EXIT { exitCode: 1, signal: 0 }
npm ERR! Error Error: dependency installation failed
npm ERR! at Dalai.setup (/usr/local/lib/node_modules/dalai/index.js:376:13)
npm ERR! at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-03-19T19_56_48_474Z-debug-0.log
Im trying the installation, but the provided commands dont work. It just stops and after running it wants to reinstall dalai.
Then i've read, that I can install it globally, but it quits with an error: