Closed KajiMaCN closed 2 years ago
@KajiMaCN Please use
pip install --verbose -U git+https://github.com/csukuangfj/kaldialign.git@pybind11
as a temporary solution.
I am creating a PR. After it gets merged, you can use
pip install --verbose kaldialign
@KajiMaCN Please use
pip install --verbose -U git+https://github.com/csukuangfj/kaldialign.git@pybind11
as a temporary solution.
I am creating a PR. After it getting merged, you can use
pip install --verbose kaldialign
Ok, I'll try to do it.
So does it fix your issue?
So does it fix your issue?
Yes, the issue was solved.
@KajiMaCN Please use
pip install --verbose -U git+https://github.com/csukuangfj/kaldialign.git@pybind11
as a temporary solution. I am creating a PR. After it getting merged, you can use
pip install --verbose kaldialign
Ok, I'll try to do it. pip install --verbose kaldialign can it be used now?
pip install --verbose kaldialign can it be used now?
Yes. Please post the error messages if it does not work for you.
collect2: error: ld returned 1 exit status CMakeFiles/_kaldialign.dir/build.make:121: recipe for target '_kaldialign.cpython-37m-x86_64-linux-gnu.so' failed make[2]: [_kaldialign.cpython-37m-x86_64-linux-gnu.so] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/_kaldialign.dir/all' failed make[1]: [CMakeFiles/_kaldialign.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
pip install --verbose kaldialign can it be used now?
Yes. Please post the error messages if it does not work for you.
Click: https://github.com/pzelasko/kaldialign/issues/new
error: subprocess-exited-with-error
_ python setup.py bdistwheel did not run successfully. exit code: 1 __> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
@wwfcnu
Could you post all of the logs?
It is impossible to figure out what happened from such a limited error message.
@wwfcnu
Could you post all of the logs?
It is impossible to figure out what happened from such a limited error message.
pip install --verbose kaldialign Using pip 22.3.1 from /usr/local/python3.7.10/lib/python3.7/site-packages/pip (python 3.7) Collecting kaldialign Using cached kaldialign-0.4.tar.gz (23 kB) Running command python setup.py egg_info running egg_info creating /tmp/pip-pip-egg-info-kw5x6dzg/kaldialign.egg-info writing /tmp/pip-pip-egg-info-kw5x6dzg/kaldialign.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-kw5x6dzg/kaldialign.egg-info/dependency_links.txt writing top-level names to /tmp/pip-pip-egg-info-kw5x6dzg/kaldialign.egg-info/top_level.txt writing manifest file '/tmp/pip-pip-egg-info-kw5x6dzg/kaldialign.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-pip-egg-info-kw5x6dzg/kaldialign.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/tmp/pip-pip-egg-info-kw5x6dzg/kaldialign.egg-info/SOURCES.txt' Preparing metadata (setup.py) ... done Building wheels for collected packages: kaldialign Running command python setup.py bdist_wheel running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/kaldialign copying kaldialign/init.py -> build/lib.linux-x86_64-3.7/kaldialign running build_ext For fast compilation, run: export KALDIALIGN_MAKE_ARGS="-j"; python setup.py install Setting make_args to '-j4' Setting PYTHON_EXECUTABLE to /usr/local/python3.7.10/bin/python3.7 build command is:
cd build/temp.linux-x86_64-3.7
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/local/python3.7.10/bin/python3.7 -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-wapz
lo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/build/lib.linux-x86_64-3.7/kaldialign /tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c77 4ac
make -j4 install
-- The CXX compiler identification is GNU 7.5.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Downloading pybind11 https://github.com/pybind/pybind11/archive/v2.6.0.tar.gz -- pybind11 is downloaded to /tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/build/temp.linux-x86_64-3.7/_deps/pybind11-src -- pybind11 v2.6.0 -- Found PythonInterp: /usr/local/python3.7.10/bin/python3.7 (found version "3.7.10") -- Found PythonLibs: /usr/local/python3.7.10/lib/libpython3.7m.a -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/build/temp.linux-x86_64-3.7 Scanning dependencies of target _kaldialign [ 33%] Building CXX object CMakeFiles/_kaldialign.dir/extensions/kaldialign.cpp.o [ 66%] Building CXX object CMakeFiles/_kaldialign.dir/extensions/kaldi_align.cpp.o [100%] Linking CXX shared module _kaldialign.cpython-37m-x86_64-linux-gnu.so /usr/bin/ld: /usr/local/python3.7.10/lib/libpython3.7m.a(ceval.o): relocation R_X86_64_PC32 against symbol `_PyRuntime' can not be used when making a s hared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status CMakeFiles/_kaldialign.dir/build.make:121: recipe for target '_kaldialign.cpython-37m-x86_64-linux-gnu.so' failed make[2]: [_kaldialign.cpython-37m-x86_64-linux-gnu.so] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/_kaldialign.dir/all' failed make[1]: [CMakeFiles/_kaldialign.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: * [all] Error 2 Traceback (most recent call last): File "", line 36, in File "", line 34, in File "/tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/setup.py", line 149, in license="Apache licensed, as found in the LICENSE file", File "/usr/local/python3.7.10/lib/python3.7/site-packages/setuptools/init.py", line 144, in setup return distutils.core.setup(attrs) File "/usr/local/python3.7.10/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/python3.7.10/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 325, in run self.run_command("build") File "/usr/local/python3.7.10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/python3.7.10/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 325, in run self.run_command("build") File "/usr/local/python3.7.10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/python3.7.10/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/local/python3.7.10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/python3.7.10/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 87, in run _build_ext.run(self) File "/usr/local/python3.7.10/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/usr/local/python3.7.10/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "/usr/local/python3.7.10/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "/tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/setup.py", line 70, in build_extension "\nBuild kaldialign failed. Please check the error message.\n" Exception: Build kaldialign failed. Please check the error message. You can ask for help by creating an issue on GitHub.
Click: https://github.com/pzelasko/kaldialign/issues/new
error: subprocess-exited-with-error
_ python setup.py bdistwheel did not run successfully. exit code: 1 __> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/local/python3.7.10/bin/python3.7 -u -c ' exec(compile('"'"''"'"''"'"'
This is -- a caller that pip uses to run setup.py
try: import setuptools except ImportError as error: print( "ERROR: Can not execute setup.py since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)
file = %r sys.argv[0] = file
if os.path.exists(file): filename = file with tokenize.open(file) as f: setup_py_code = f.read() else: filename = "" setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/setup.py'"'"',), "", "exec"))' bdi st_wheel -d /tmp/pip-wheel-7wogfr cwd: /tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/ Building wheel for kaldialign (setup.py) ... error ERROR: Failed building wheel for kaldialign Running setup.py clean for kaldialign Running command python setup.py clean running clean removing 'build/temp.linux-x86_64-3.7' (and everything under it) removing 'build/lib.linux-x86_64-3.7' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.7' does not exist -- can't clean it removing 'build' Failed to build kaldialign Installing collected packages: kaldialign Running command Running setup.py install for kaldialign running install running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/kaldialign copying kaldialign/init.py -> build/lib.linux-x86_64-3.7/kaldialign running build_ext For fast compilation, run: export KALDIALIGN_MAKE_ARGS="-j"; python setup.py install Setting make_args to '-j4' Setting PYTHON_EXECUTABLE to /usr/local/python3.7.10/bin/python3.7 build command is:
cd build/temp.linux-x86_64-3.7
cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/local/python3.7.10/bin/python3.7 -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-wapz
lo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/build/lib.linux-x86_64-3.7/kaldialign /tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c77 4ac
make -j4 install
-- The CXX compiler identification is GNU 7.5.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Downloading pybind11 https://github.com/pybind/pybind11/archive/v2.6.0.tar.gz -- pybind11 is downloaded to /tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/build/temp.linux-x86_64-3.7/_deps/pybind11-src -- pybind11 v2.6.0 -- Found PythonInterp: /usr/local/python3.7.10/bin/python3.7 (found version "3.7.10") -- Found PythonLibs: /usr/local/python3.7.10/lib/libpython3.7m.a -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/build/temp.linux-x86_64-3.7 Scanning dependencies of target _kaldialign [ 33%] Building CXX object CMakeFiles/_kaldialign.dir/extensions/kaldialign.cpp.o [ 66%] Building CXX object CMakeFiles/_kaldialign.dir/extensions/kaldi_align.cpp.o [100%] Linking CXX shared module _kaldialign.cpython-37m-x86_64-linux-gnu.so /usr/bin/ld: /usr/local/python3.7.10/lib/libpython3.7m.a(ceval.o): relocation R_X86_64_PC32 against symbol `_PyRuntime' can not be used when making a s hared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status CMakeFiles/_kaldialign.dir/build.make:121: recipe for target '_kaldialign.cpython-37m-x86_64-linux-gnu.so' failed make[2]: [_kaldialign.cpython-37m-x86_64-linux-gnu.so] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/_kaldialign.dir/all' failed make[1]: [CMakeFiles/_kaldialign.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: * [all] Error 2 Traceback (most recent call last): File "", line 36, in File "", line 34, in File "/tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/setup.py", line 149, in license="Apache licensed, as found in the LICENSE file", File "/usr/local/python3.7.10/lib/python3.7/site-packages/setuptools/init.py", line 144, in setup return distutils.core.setup(attrs) File "/usr/local/python3.7.10/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/python3.7.10/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/usr/local/python3.7.10/lib/python3.7/distutils/command/install.py", line 545, in run File "/usr/local/python3.7.10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/python3.7.10/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/local/python3.7.10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/python3.7.10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/python3.7.10/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 87, in run _build_ext.run(self) File "/usr/local/python3.7.10/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/usr/local/python3.7.10/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "/usr/local/python3.7.10/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "/tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/setup.py", line 70, in build_extension "\nBuild kaldialign failed. Please check the error message.\n" Exception: Build kaldialign failed. Please check the error message. You can ask for help by creating an issue on GitHub. Click: https://github.com/pzelasko/kaldialign/issues/new
error: subprocess-exited-with-error
Running setup.py install for kaldialign did not run successfully. exit code: 1 __> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/local/python3.7.10/bin/python3.7 -u -c ' exec(compile('"'"''"'"''"'"'
This is -- a caller that pip uses to run setup.py
try: import setuptools except ImportError as error: print( "ERROR: Can not execute setup.py since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1)
file = %r sys.argv[0] = file
if os.path.exists(file): filename = file with tokenize.open(file) as f: setup_py_code = f.read() else: filename = "" setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/setup.py'"'"',), "", "exec"))' ins tall --record /tmp/pip-record-luou2ts3/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/python3.7.10/include /python3.7m/kaldialign cwd: /tmp/pip-install-wapzlo4v/kaldialign_bdcf0ba7f4804a45865a280975c774ac/ Running setup.py install for kaldialign ... error error: legacy-install-failure
_ Encountered error while trying to install package. __> kaldialign
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
/usr/bin/ld: /usr/local/python3.7.10/lib/libpython3.7m.a(ceval.o): relocation R_X86_64_PC32 against symbol `_PyRuntime' can not be used when making a s
The error says you are using a statically linked Python.
Could you install a version of Python that provides shared library?
(You are currently using /usr/local/python3.7.10/lib/libpython3.7m.a
, but we expect
/usr/local/python3.7.10/lib/libpython3.7m.so
)
/usr/local/python3.7.10/lib/libpython3.7m.so
i can't find /usr/local/python3.7.10/lib/libpython3.7m.so
How did you install Python?
How did you install Python?
installed python3.7
I mean which command are you using to install python?
I mean which command are you using to install python?
also tried pip install --verbose -U git+https://github.com/csukuangfj/kaldialign.git@pybind11
I mean which command are you using to install python?
Download the tgz compressed package of python 3.7 and unzip it
What are the commands you used to build
python ?
Could you use
./configure --enable-shared
?
That is, pass --enable-shared
to ./configure
.
What are the commands you used to
build
python ?Could you use
./configure --enable-shared
?
That is, pass
--enable-shared
to./configure
.
thanks,it works
windows10 python==3.8
logs: (icefall) PS D:\PyCharm Projects\icefall> pip install -r requirements.txt Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.ngc.nvidia.com Collecting kaldilm Using cached kaldilm-1.13-cp38-cp38-win_amd64.whl Collecting kaldialign Using cached https://pypi.tuna.tsinghua.edu.cn/packages/30/1e/ec6129e4c26dc5be08aef1ebc5dd4aba3465e77877aa01533f65ca7aac43/kaldialign-0.2.tar.gz (39 kB) Preparing metadata (setup.py) ... done Collecting sentencepiece>=0.1.96 -win_amd64.whl (1.1 MB) Collecting tensorboard Using cached https://pypi.tuna.tsinghua.edu.cn/packages/80/49/a5ec29886ef823718c8ae54ed0b3ad7e19066b5bf21cec5038427e6a04c4/tensorboard-2.10.1-py3-none-an y.whl (5.9 MB) Collecting typeguard Using cached https://pypi.tuna.tsinghua.edu.cn/packages/9a/bb/d43e5c75054e53efce310e79d63df0ac3f25e34c926be5dffb7d283fb2a8/typeguard-2.13.3-py3-none-any. whl (17 kB) Collecting multi_quantization Using cached https://pypi.tuna.tsinghua.edu.cn/packages/5e/a4/31a8052dc173b8fd9c580f717a4dd337d1c9a41a4004bbcd706fc0f4c1b1/multi_quantization-0.1.1-py3-n one-any.whl (16 kB) Collecting onnx Using cached https://pypi.tuna.tsinghua.edu.cn/packages/03/ab/f8850b030d912e1d48ddca9e94df7fa93b151bf5d12c2d056847a367ac4d/onnx-1.12.0-cp38-cp38-win_amd6 4.whl (11.5 MB) Collecting onnxruntime Using cached https://pypi.tuna.tsinghua.edu.cn/packages/36/84/276c11a89f3625415f4c16b87dcc46dbb6fea8fd6a28276a05d1f6f3fb6f/onnxruntime-1.12.1-cp38-cp38-w in_amd64.whl (5.8 MB) Collecting onnx_graphsurgeon Using cached https://developer.download.nvidia.cn/compute/redist/onnx-graphsurgeon/onnx_graphsurgeon-0.3.20-py2.py3-none-any.whl (39 kB) Collecting markdown>=2.6.8 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/86/be/ad281f7a3686b38dd8a307fa33210cdf2130404dfef668a37a4166d737ca/Markdown-3.4.1-py3-none-any.wh l (93 kB) Collecting google-auth<3,>=1.6.3 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/be/65/3126b832ae3a8c7446820a9603b4b73e39ade43995922665f128f5aa53ab/google_auth-2.11.1-py2.py3-non e-any.whl (167 kB) Collecting werkzeug>=1.0.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c8/27/be6ddbcf60115305205de79c29004a0c6bc53cec814f733467b1bb89386d/Werkzeug-2.2.2-py3-none-any.wh l (232 kB) Requirement already satisfied: setuptools>=41.0.0 in d:\anaconda3\envs\icefall\lib\site-packages (from tensorboard->-r requirements.txt (line 4)) (65.4.0) Collecting google-auth-oauthlib<0.5,>=0.4.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/b1/0e/0636cc1448a7abc444fb1b3a63655e294e0d2d49092dc3de05241be6d43c/google_auth_oauthlib-0.4.6-py2 .py3-none-any.whl (18 kB) Requirement already satisfied: wheel>=0.26 in d:\anaconda3\envs\icefall\lib\site-packages (from tensorboard->-r requirements.txt (line 4)) (0.37.1) Collecting tensorboard-data-server<0.7.0,>=0.6.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/74/69/5747a957f95e2e1d252ca41476ae40ce79d70d38151d2e494feb7722860c/tensorboard_data_server-0.6.1- py3-none-any.whl (2.4 kB) Collecting absl-py>=0.4 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a5/b8/fc74a554a6fc7f26744c883ebfe405cf49c1f1320f13ee874aee47c70e1d/absl_py-1.2.0-py3-none-any.whl (123 kB) Requirement already satisfied: numpy>=1.12.0 in d:\anaconda3\envs\icefall\lib\site-packages (from tensorboard->-r requirements.txt (line 4)) (1.22.4) Collecting protobuf<3.20,>=3.9.2 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e0/68/e8ecfac5dd594b676c23a7f07ea34c197d7d69b3313afdf8ac1b0a9905a2/tensorboard_plugin_wit-1.8.1-p y3-none-any.whl (781 kB) Collecting requests<3,>=2.21.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/ca/91/6d9b8ccacd0412c08820f72cebaa4f0c0441b5cda699c90f618b6f8a1b42/requests-2.28.1-py3-none-any.w hl (62 kB) Collecting h5py Using cached https://pypi.tuna.tsinghua.edu.cn/packages/fd/d2/6e712fa82db13e63af29122611dc58e4fbcffda3035efd70afe96f3a0a90/h5py-3.7.0-cp38-cp38-win_amd64 .whl (2.6 MB) Requirement already satisfied: torch in d:\anaconda3\envs\icefall\lib\site-packages (from multi_quantization->-r requirements.txt (line 6)) (1.12.1) Requirement already satisfied: typing-extensions>=3.6.2.1 in d:\anaconda3\envs\icefall\lib\site-packages (from onnx->-r requirements.txt (line 7)) (4.3.0) Collecting coloredlogs Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a7/06/3d6badcf13db419e25b07041d9c7b4a2c331d3f4e7134445ec5df57714cd/coloredlogs-15.0.1-py2.py3-non e-any.whl (46 kB) Collecting flatbuffers Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d7/0d/b5bfb553a6ac66d6ec2b6d7f1e814a908fba7188356ac94bb36ae3d905c3/flatbuffers-2.0.7-py2.py3-none -any.whl (26 kB) Collecting sympy Using cached https://pypi.tuna.tsinghua.edu.cn/packages/2d/49/a2d03101e2d28ad528968144831d506344418ef1cc04839acdbe185889c2/sympy-1.11.1-py3-none-any.whl (6.5 MB) Requirement already satisfied: packaging in d:\anaconda3\envs\icefall\lib\site-packages (from onnxruntime->-r requirements.txt (line 8)) (21.3) Collecting cachetools<6.0,>=2.0.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/68/aa/5fc646cae6e997c3adf3b0a7e257cda75cff21fcba15354dffd67789b7bb/cachetools-5.2.0-py3-none-any. whl (9.3 kB) Collecting pyasn1-modules>=0.2.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/95/de/214830a981892a3e286c3794f41ae67a4495df1108c3da8a9f62159b9a9d/pyasn1_modules-0.2.8-py2.py3-n one-any.whl (155 kB) Collecting rsa<5,>=3.1.4 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/49/97/fa78e3d2f65c02c8e1268b9aba606569fe97f6c8f7c2d74394553347c145/rsa-4.9-py3-none-any.whl (34 k B) Collecting six>=1.9.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.wh l (11 kB) Collecting requests-oauthlib>=0.7.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6f/bb/5deac77a9af870143c684ab46a7934038a53eb4aa975bc0687ed6ca2c610/requests_oauthlib-1.3.1-py2.py 3-none-any.whl (23 kB) Collecting importlib-metadata>=4.4 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d2/a2/8c239dc898138f208dd14b441b196e7b3032b94d3137d9d8453e186967fc/importlib_metadata-4.12.0-py3- none-any.whl (21 kB) Collecting charset-normalizer<3,>=2 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/db/51/a507c856293ab05cdc1db77ff4bc1268ddd39f29e7dc4919aa497f0adbec/charset_normalizer-2.1.1-py3-n one-any.whl (39 kB) Collecting idna<4,>=2.5 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl (61 kB) Collecting urllib3<1.27,>=1.21.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/6f/de/5be2e3eed8426f871b170663333a0f627fc2924cc386cd41be065e7ea870/urllib3-1.26.12-py2.py3-none-a ny.whl (140 kB) Collecting certifi>=2017.4.17 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/1d/38/fa96a426e0c0e68aabc68e896584b83ad1eec779265a028e156ce509630e/certifi-2022.9.24-py3-none-any .whl (161 kB) Collecting MarkupSafe>=2.1.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/2c/81/91062a81ac8a18f557f12e2618475b53878755c016c9914c8aa207155c4e/MarkupSafe-2.1.1-cp38-cp38-win _amd64.whl (17 kB) Collecting humanfriendly>=9.1 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f0/0f/310fb31e39e2d734ccaa2c0fb981ee41f7bd5056ce9bc29b2248bd569169/humanfriendly-10.0-py2.py3-non e-any.whl (86 kB) Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in d:\anaconda3\envs\icefall\lib\site-packages (from packaging->onnxruntime->-r requirements.txt (l ine 8)) (3.0.9) Collecting mpmath>=0.19 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d4/cf/3965bddbb4f1a61c49aacae0e78fd1fe36b5dc36c797b31f30cf07dcbbb7/mpmath-1.2.1-py3-none-any.whl (532 kB) Collecting pyreadline3 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/56/fc/a3c13ded7b3057680c8ae95a9b6cc83e63657c38e0005c400a5d018a33a7/pyreadline3-3.4.1-py3-none-any .whl (95 kB) Collecting zipp>=0.5 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f0/36/639d6742bcc3ffdce8b85c31d79fcfae7bb04b95f0e5c4c6f8b206a038cc/zipp-3.8.1-py3-none-any.whl (5 .6 kB) Collecting pyasn1<0.5.0,>=0.4.6 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any. whl (77 kB) Collecting oauthlib>=3.0.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/92/bb/d669baf53d4ffe081dab80aad93c5c79f84eeac885dd31507c8c055a98d5/oauthlib-3.2.1-py3-none-any.wh l (151 kB) Building wheels for collected packages: kaldialign Building wheel for kaldialign (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [15 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-38 creating build\lib.win-amd64-cpython-38\extensions copying extensions__init__.py -> build\lib.win-amd64-cpython-38\extensions running buildext building 'kaldialign' extension creating build\temp.win-amd64-cpython-38 creating build\temp.win-amd64-cpython-38\Release creating build\temp.win-amd64-cpython-38\Release\extensions "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\JHC-L1022\AppData\Local\Temp\pip-install-4pa0y1n\kaldialign_d8c1fe3fd22c4958886911520cf0ce5d/extensions -ID:\Anaconda3\envs\icefall\include -I D:\Anaconda3\envs\icefall\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\ \include\10.0.20348.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0 .20348.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\cppwinrt" /EHsc /Tpextensions/align.cpp /Fobuild\temp.win-amd64-cpython-3 8\Release\extensions/align.obj -std=c++11 -Wno-register -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char cl: 命令行 error D8021 :无效的数值参数“/Wno-register” error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe' failed w ith exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for kaldialign Running setup.py clean for kaldialign Failed to build kaldialign Installing collected packages: tensorboard-plugin-wit, sentencepiece, pyreadline3, pyasn1, mpmath, kaldilm, kaldialign, flatbuffers, zipp, urllib3, typegua rd, tensorboard-data-server, sympy, six, rsa, pyasn1-modules, protobuf, oauthlib, MarkupSafe, idna, humanfriendly, h5py, charset-normalizer, certifi, cache tools, absl-py, werkzeug, requests, onnx, multi_quantization, importlib-metadata, grpcio, google-auth, coloredlogs, requests-oauthlib, onnxruntime, onnx_gr aphsurgeon, markdown, google-auth-oauthlib, tensorboard Running setup.py install for kaldialign ... error error: subprocess-exited-with-error
× Running setup.py install for kaldialign did not run successfully. │ exit code: 1 ╰─> [17 lines of output] running install D:\Anaconda3\envs\icefall\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win-amd64-cpython-38 creating build\lib.win-amd64-cpython-38\extensions copying extensions__init__.py -> build\lib.win-amd64-cpython-38\extensions running build_ext building 'kaldialign' extension ith exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> kaldialign
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.