program paradigms

Procedural Programming:
Decide which procedures you want; use the best algorithms you can find.

Modular Programming
Decide which modules you want; partition the program so that data is hidden within modules.

Object-Oriented Programming
Decide which classes you want; provide a full set of operations for each class;make commonality explicit by using inheritance

Generic Programming
Decide which algorithms you want; parameterize them so that they work for a variety of suitable types and data structures.



我正在安装依赖,遇到了Using cached importlib_metadata-8.7.0-py3-none-any.whl (27 kB) Using cached zipp-3.23.0-py3-none-any.whl (10 kB) Using cached importlib_resources-6.5.2-py3-none-any.whl (37 kB) Using cached latex2mathml-3.78.0-py3-none-any.whl (73 kB) Using cached multiprocess-0.70.16-py310-none-any.whl (134 kB) Using cached networkx-3.4.2-py3-none-any.whl (1.7 MB) Using cached psutil-7.0.0-cp37-abi3-win_amd64.whl (244 kB) Using cached pyarrow_hotfix-0.7-py3-none-any.whl (7.9 kB) Using cached pycparser-2.22-py3-none-any.whl (117 kB) Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB) Using cached pyreadline3-3.5.4-py3-none-any.whl (83 kB) Using cached pytorch_lightning-2.5.2-py3-none-any.whl (825 kB) Using cached PySocks-1.7.1-py3-none-any.whl (16 kB) Using cached sympy-1.14.0-py3-none-any.whl (6.3 MB) Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Using cached tiktoken-0.9.0-cp310-cp310-win_amd64.whl (894 kB) Using cached torchvision-0.18.1-cp310-cp310-win_amd64.whl (1.2 MB) Using cached svgwrite-1.4.3-py3-none-any.whl (67 kB) Using cached xxhash-3.5.0-cp310-cp310-win_amd64.whl (30 kB) Building wheels for collected packages: llama_omni2, pynini Building editable for llama_omni2 (pyproject.toml) ... done Created wheel for llama_omni2: filename=llama_omni2-1.0.0-0.editable-py3-none-any.whl size=5914 sha256=d8f89fdcb31c96a765c7730197ebe1caa7717620675f5b59ca8bb76908cb96be Stored in directory: C:\Users\轩\AppData\Local\Temp\pip-ephem-wheel-cache-kw9lxxli\wheels\12\8f\35\fc4d037562281defad87867b27b31f1688fd6e7cc7b67f7af5 DEPRECATION: Building 'pynini' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to us e the standardized build interface by setting the `--use-pep517` option, (possibly combined with `--no-build-isolation`), or adding a `pyproject.toml` file to the source tree of 'pynini'. Discussion can be found at https://github.com/pypa/pip/issues/6334 Building wheel for pynini (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [62 lines of output] D:\program\miniconda3\envs\SecendTest\lib\site-packages\setuptools\dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build\lib.win-amd64-cpython-310\pynini copying pynini\__init__.py -> build\lib.win-amd64-cpython-310\pynini creating build\lib.win-amd64-cpython-310\pywrapfst copying pywrapfst\__init__.py -> build\lib.win-amd64-cpython-310\pywrapfst creating build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\case.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\chatspeak.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\chatspeak_model.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\dates.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\g2p.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\numbers.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\plurals.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\t9.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\weather.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\__init__.py -> build\lib.win-amd64-cpython-310\pynini\examples creating build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\export.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\grm.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\grm_example.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\multi_grm.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\multi_grm_example.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\__init__.py -> build\lib.win-amd64-cpython-310\pynini\export creating build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\byte.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\edit_transducer.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\features.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\paradigms.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\pynutil.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\rewrite.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\rule_cascade.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\tagger.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\utf8.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\__init__.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\__init__.pyi -> build\lib.win-amd64-cpython-310\pynini copying pynini\py.typed -> build\lib.win-amd64-cpython-310\pynini copying pywrapfst\__init__.pyi -> build\lib.win-amd64-cpython-310\pywrapfst copying pywrapfst\py.typed -> build\lib.win-amd64-cpython-310\pywrapfst copying pynini\examples\py.typed -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\export\py.typed -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\lib\py.typed -> build\lib.win-amd64-cpython-310\pynini\lib running build_ext building '_pywrapfst' extension creating build\temp.win-amd64-cpython-310\Release\extensions "D:\学习软件\vs\vs IIDE\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\program\miniconda3\envs\SecendTest\include -ID:\program\miniconda3\envs\SecendTe st\Include "-ID:\学习软件\vs\vs IIDE\VC\Tools\MSVC\14.42.34433\include" "-ID:\学习软件\vs\vs IIDE\VC\Tools\MSVC\14.42.34433\ATLMFC\include" "-ID:\学习软件\vs\vs IIDE\VC\Auxiliary\VS\include" "-ID:\Wind ows Kits\10\include\10.0.22621.0\ucrt" "-ID:\Windows Kits\10\\include\10.0.22621.0\\um" "-ID:\Windows Kits\10\\include\10.0.22621.0\\shared" "-ID:\Windows Kits\10\\include\10.0.22621.0\\winrt" "-ID:\Wi ndows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpextensions/_pywrapfst.cpp /Fobuild\temp.win-amd64-cpython-310\Release\extensions\_pywrapfst.obj -std=c++17 -Wno-register -Wno-deprecated-declarations -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char cl: 命令行 error D8021 :无效的数值参数“/Wno-register” error: command 'D:\\学习软件\\vs\\vs IIDE\\VC\\Tools\\MSVC\\14.42.34433\\bin\\HostX86\\x64\\cl.exe' failed with 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 pynini Running setup.py clean for pynini Successfully built llama_omni2 Failed to build pynini ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynini) 这样的问题,选择使用conda预编译的二进制文件后,应该怎么继续下载
07-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值