build lib.win32-cpython-39\pycocotools_mask.cp39-win_amd64.pyd : fatal error LNK1120:151个无法解析的外部命令 error: comand 'GC Program Filesticrosoft Vvisual Stutiol2e 2NlEnterpriselVC(NTolslV/5SC\)14.30.0E5\binlNHisuXe os65\1ink.ene 'feiledwth exit coe 1o[end of output] note: This error originates from a subprocess,and is likely not a problem with pip.ERROR: Failed building wheel for pycocotools Failed to build pycocotools ERROR: could not build wheels for pycocotools,which is required to install pyproject.toml-based projects

时间: 2023-09-27 21:07:21 浏览: 324
这个错误可能是由于缺少编译所需的依赖项导致的。请尝试以下解决方案: 1. 确保已安装正确的C++编译器。对于Windows系统,建议安装Microsoft Visual C++ Build Tools。你可以从以下链接下载最新版本的Build Tools:https://visualstudio.microsoft.com/visual-cpp-build-tools/ 2. 检查是否已正确安装了Cython和Numpy。你可以使用以下命令进行安装: ``` pip install cython numpy ``` 3. 如果你使用的是Anaconda环境,请确保已激活正确的环境,并重复尝试安装。 4. 如果你正在尝试在Windows上安装pycocotools,还需要安装Microsoft Visual Studio。你可以从以下链接下载并安装适用于你的Python版本的Visual Studio:https://visualstudio.microsoft.com/vs/ 尝试上述步骤后,再次运行安装命令,看看问题是否得到解决。如果问题仍然存在,请提供更多关于你的环境和操作系统的信息,以便我能够提供更准确的帮助。
相关问题

(Gc Poaran Fils (oza6)Nirous sit 10NBb42.8.1941 Of noiD” EDPX APjbit_nate bilitap xtnNt- yto - .Malere rcumoml retai.cojuilstampt brcytr-别leelproctuol tmx.oy J tbilstb.win32-cpython-39pycocotools_mask.cp39-win_amd654.pyd /TNPLTB:build\temp.win2-cpython-39)ReleaseY./comonl_mask.cp39-win_amd64.1lib 正在创建库 build\temp.win2-cpython-39NRelease ,./comon l mask.cp59-win amd84.1ib和对象Cbuild tep.in放2-cpytho -N9 ielese .lcomonl msk.p9- min ambo4.cp_mask.obj : error LNK2001:无法解析的外部符号_imp__PyBaseObject_Type _mask.obj : error LNK2001:无法解析的外部符号_imp___Pyobject_SetAttr _mask.obj : error LNK2001:无法解析的外部符号_imp__PyUnicode_InternFromString_mask.obj : error LNK2001:无法解析的外部符号__imp__PyCFunction_Type _mask.obj : error LNK2001:无法解析的外部符号_imp_PyOs_snprintf_mask.obj : error LNK2001:无法解析的外部符号_imp__PyThreadstate_Get_mask.obj : error LNK2001:无法解析的外部符号_imp_PyExc_Exception_mask.obj : error LNK2001:无法解析的外部符号二imp___PyErr_setobject_mask.obj : error LNK2001:无法解析的外部符号_imp__PyCode_NewEmpty _mask.obj : error LNK2001:无法解析的外部符号_imp_PyErr_GivenExceptionMatches_mask.obj : error LNK2001:无法解析的外部符号_imp_PyLong_AsUnsignedLong _mask.obj : error LNK2001:无法解析的外部符号_imp__PyErr_WarnEx

这个错误可能是由于编译器无法找到所需的Python库文件导致的。你可以尝试以下解决方案: 1. 确保你的Python环境已正确安装并配置。请检查Python的安装路径是否正确添加到系统的环境变量中。 2. 检查你正在使用的Python版本是否与你编译的pycocotools版本兼容。请确保使用的Python版本与pycocotools要求的Python版本匹配。 3. 尝试使用较新版本的pycocotools。运行以下命令更新或重新安装pycocotools: ``` pip install --upgrade pycocotools ``` 4. 如果你使用的是Anaconda环境,请确保已激活正确的环境,并尝试重新安装pycocotools。 如果问题仍然存在,请提供更多关于你的环境和操作系统的信息,以便我能够提供更准确的帮助。

build\lib.win32-cpython-39pycocotools mask.cp39-win_amd64.pyd : fatal error LNK1120: 151个无法解析的外部命令 error: comand 'c-IProgran Files\WlicrosoftVisual Studiol\2NEnterprise(iVC(|TolsISNC(14.30.320705)|binNVHtstX86\ xsS( lin.xe failed with exit coe 1n1o[end of output] note: This error originates from a subprocess,and is likely not a problem with pip.ERROR: Failed building wheel for pycocotools Failed to build pycocotools ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

这个错误可能是由于缺少编译所需的依赖项或编译器配置问题导致的。请尝试以下解决方案: 1. 确保已正确安装了Microsoft Visual C++ Build Tools。你可以从以下链接下载最新版本的Build Tools:https://visualstudio.microsoft.com/visual-cpp-build-tools/ 2. 检查你的系统是否已正确配置。请确保Python和Visual Studio的安装路径已添加到系统的环境变量中。 3. 尝试使用管理员权限重新运行安装命令。在命令提示符或终端中,右键单击并选择“以管理员身份运行”。 4. 确保已安装正确版本的Cython和Numpy。你可以使用以下命令进行安装: ``` pip install cython numpy ``` 5. 如果你正在使用Anaconda环境,请确保已激活正确的环境,并尝试重新安装pycocotools。 如果上述解决方案仍然无法解决问题,请提供更多关于你的操作系统和环境的信息,以便我能够提供更准确的帮助。
阅读全文

相关推荐

(Log) PS D:\Project\Y\project\GraphLogAD-main\GraphLogAD-main> pip install torch_scatter Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting torch_scatter Downloading https://pypi.tuna.tsinghua.edu.cn/packages/f5/ab/2a44ecac0f891dd0d765fc59ac8d277c6283a31907626560e72685df2ed6/torch_scatter-2.1.2.tar.gz (108 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: torch_scatter DEPRECATION: Building 'torch_scatter' 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 use the standardized b uild interface by setting the --use-pep517 option, (possibly combined with --no-build-isolation), or adding a pyproject.toml file to the source tree of 'torch_scatter'. Discussion can be found at https://github.com/pypa/pip/issues/6334 Building wheel for torch_scatter (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [44 lines of output] C:\Users\23833\.conda\envs\Log\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 :: MIT 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\torch_scatter copying torch_scatter\placeholder.py -> build\lib.win-amd64-cpython-310\torch_scatter copying torch_scatter\scatter.py -> build\lib.win-amd64-cpython-310\torch_scatter copying torch_scatter\segment_coo.py -> build\lib.win-amd64-cpython-310\torch_scatter copying torch_scatter\segment_csr.py -> build\lib.win-amd64-cpython-310\torch_scatter copying torch_scatter\testing.py -> build\lib.win-amd64-cpython-310\torch_scatter copying torch_scatter\utils.py -> build\lib.win-amd64-cpython-310\torch_scatter copying torch_scatter\__init__.py -> build\lib.win-amd64-cpython-310\torch_scatter creating build\lib.win-amd64-cpython-310\torch_scatter\composite copying torch_scatter\composite\logsumexp.py -> build\lib.win-amd64-cpython-310\torch_scatter\composite copying torch_scatter\composite\softmax.py -> build\lib.win-amd64-cpython-310\torch_scatter\composite copying torch_scatter\composite\std.py -> build\lib.win-amd64-cpython-310\torch_scatter\composite copying torch_scatter\composite\__init__.py -> build\lib.win-amd64-cpython-310\torch_scatter\composite running egg_info writing torch_scatter.egg-info\PKG-INFO writing dependency_links to torch_scatter.egg-info\dependency_links.txt writing requirements to torch_scatter.egg-info\requires.txt writing top-level names to torch_scatter.egg-info\top_level.txt reading manifest file 'torch_scatter.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory 'test' adding license file 'LICENSE' writing manifest file 'torch_scatter.egg-info\SOURCES.txt' running build_ext C:\Users\23833\.conda\envs\Log\lib\site-packages\torch\utils\cpp_extension.py:382: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'torch_scatter._scatter_cpu' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for torch_scatter Running setup.py clean for torch_scatter Failed to build torch_scatter ERROR: Failed to build installable wheels for some pyproject.toml based projects (torch_scatter)

(base) [root@localhost py3.8]# pip install PyGObject==3.44.0 -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting PyGObject==3.44.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/07/73/a034fc1bcd6d402d6f72ff618c093f91ac6921f968cc19806b6a1b1b19c8/PyGObject-3.44.0.tar.gz (720 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pycairo>=1.16.0 (from PyGObject==3.44.0) Using cached pycairo-1.26.1-cp38-cp38-linux_x86_64.whl Building wheels for collected packages: PyGObject Building wheel for PyGObject (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for PyGObject (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [44 lines of output] running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-38/pygtkcompat copying pygtkcompat/__init__.py -> build/lib.linux-x86_64-cpython-38/pygtkcompat copying pygtkcompat/generictreemodel.py -> build/lib.linux-x86_64-cpython-38/pygtkcompat copying pygtkcompat/pygtkcompat.py -> build/lib.linux-x86_64-cpython-38/pygtkcompat creating build/lib.linux-x86_64-cpython-38/gi copying gi/__init__.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/_constants.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/_error.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/_gtktemplate.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/_option.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/_ossighelper.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/_propertyhelper.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/_signalhelper.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/docstring.py -> build/lib.linux-x86_64-cpython-38/gi copying gi/importer.py -> build/lib

Building wheel for scrypt (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for scrypt (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [38 lines of output] C:\Users\dcfea\AppData\Local\Temp\pip-build-env-hensmotg\overlay\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 :: BSD 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-313\scrypt copying scrypt\scrypt.py -> build\lib.win-amd64-cpython-313\scrypt copying scrypt\__init__.py -> build\lib.win-amd64-cpython-313\scrypt creating build\lib.win-amd64-cpython-313\scrypt\tests copying scrypt\tests\test_scrypt.py -> build\lib.win-amd64-cpython-313\scrypt\tests copying scrypt\tests\test_scrypt_c_module.py -> build\lib.win-amd64-cpython-313\scrypt\tests copying scrypt\tests\test_scrypt_py3x.py -> build\lib.win-amd64-cpython-313\scrypt\tests copying scrypt\tests\__init__.py -> build\lib.win-amd64-cpython-313\scrypt\tests copying scrypt\tests\ciphertexts.csv -> build\lib.win-amd64-cpython-313\scrypt\tests copying scrypt\tests\hashvectors.csv -> build\lib.win-amd64-cpython-313\scrypt\tests running build_ext building '_scrypt' extension creating build\temp.win-amd64-cpython-313\Release\scrypt-1.2.1\lib\crypto creating build\temp.win-amd64-cpython-313\Release\scrypt-1.2.1\lib\scryptenc creating build\temp.win-amd64-cpython-313\Release\scrypt-1.2.1\lib\util creating build\temp.win-amd64-cpython-313\Release\scrypt-1.2.1\libcperciva\alg creating build\temp.win-amd64-cpython-313\Release\scrypt-1.2.1\libcperciva\crypto creating build\temp.win-amd64-cpython-313\Release\scrypt-1.2.1\libcperciva\util creating build\temp.win-amd64-cpython-313\Release\scrypt-windows-stubs creating build\temp.win-amd64-cpython-313\Release\src cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_CONFIG_H -Dinline=__inline -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -Ic:\OpenSSL-Win64\include -Iscrypt-windows-stubs/include -IE:\Plug-ins\mtkclient-2.0.1.freeze\myenv\include "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.1520.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.1520.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" /Tcscrypt-1.2.1/lib/crypto/crypto_scrypt.c /Fobuild\temp.win-amd64-cpython-313\Release\scrypt-1.2.1\lib\crypto\crypto_scrypt.obj error: command 'cl.exe' failed: None [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for scrypt Failed to build scrypt ERROR: Failed to build installable wheels for some pyproject.toml based projects (scrypt)

Collecting gpiod Using cached gpiod-2.3.0.tar.gz (57 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: gpiod Building wheel for gpiod (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for gpiod (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [61 lines of output] C:\Users\11867\AppData\Local\Temp\pip-build-env-d8os6egt\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: project.license as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for project.license. You can also use project.license-files. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) C:\Users\11867\AppData\Local\Temp\pip-build-env-d8os6egt\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() C:\Users\11867\AppData\Local\Temp\pip-build-env-d8os6egt\overlay\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 :: GNU Lesser General Public License v2 or later (LGPLv2+) 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-39\gpiod copying gpiod\chip.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\chip_info.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\edge_event.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\exception.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\info_event.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\line.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\line_info.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\line_request.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\line_settings.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\version.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\_internal.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\__init__.py -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\_ext.pyi -> build\lib.win-amd64-cpython-39\gpiod copying gpiod\py.typed -> build\lib.win-amd64-cpython-39\gpiod running build_ext building 'gpiod._ext' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for gpiod Failed to build gpiod ERROR: Could not build wheels for gpiod, which is required to install pyproject.toml-based projects WARNING: You are using pip version 22.0.4; however, version 25.1.1 is available. You should consider upgrading via the 'C:\Users\11867\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.

Building wheel for pycocotools (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for pycocotools (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [520 lines of output] running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-38/pycocotools copying pycocotools/mask.py -> build/lib.linux-x86_64-cpython-38/pycocotools copying pycocotools/cocoeval.py -> build/lib.linux-x86_64-cpython-38/pycocotools copying pycocotools/__init__.py -> build/lib.linux-x86_64-cpython-38/pycocotools copying pycocotools/coco.py -> build/lib.linux-x86_64-cpython-38/pycocotools running build_ext Error compiling Cython file: ------------------------------------------------------------ ... np.import_array() # import numpy C function # we use PyArray_ENABLEFLAGS to make Numpy ndarray responsible to memoery management cdef extern from "numpy/arrayobject.h": void PyArray_ENABLEFLAGS(np.ndarray arr, int flags) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:27:29: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... rleFrString( <RLE*> &Rs._R[i], <char*> c_string, obj['size'][0], obj['size'][1] ) return Rs # encode mask to RLEs objects # list of RLE string can be generated by RLEs member function def encode(np.ndarray[np.uint8_t, ndim=3, mode='fortran'] mask): ^ ------------------------------------------------------------ pycocotools/_mask.pyx:136:11: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... bb = np.array((1,4*n), dtype=np.double) bb = np.PyArray_SimpleNewFromData(1, shape, np.NPY_DOUBLE, _bb).reshape((n, 4)) PyArray_ENABLEFLAGS(bb, np.NPY_OWNDATA) return bb def frBbox(np.ndarray[np.double_t, ndim=2] bb, siz h, siz w ): ^ ------------------------------------------------------------ pycocotools/_mask.pyx:254:11: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # the memory management of _mask has been passed to np.ndarray # it doesn't need to be freed here # called when passing into np.array() and return an np.ndarray in column-major order def __array__(self): cdef np.npy_intp shape[1] ^ ------------------------------------------------------------ pycocotools/_mask.pyx:93:13: 'npy_intp' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def area(rleObjs): cdef RLEs Rs = _frString(rleObjs) cdef uint* _a = <uint*> malloc(Rs._n* sizeof(uint)) rleArea(Rs._R, Rs._n, _a) cdef np.npy_intp shape[1] ^ ------------------------------------------------------------ pycocotools/_mask.pyx:163:9: 'npy_intp' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise Exception('list input can be bounding box (Nx4) or RLEs ([RLE])') else: raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): ^ ------------------------------------------------------------ pycocotools/_mask.pyx:197:34: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise Exception('list input can be bounding box (Nx4) or RLEs ([RLE])') else: raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): ^ ------------------------------------------------------------ pycocotools/_mask.pyx:197:88: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): rleIou( <RLE*> dt._R, <RLE*> gt._R, m, n, <byte*> iscrowd.data, <double*> _iou.data ) def _bbIou(np.ndarray[np.double_t, ndim=2] dt, np.ndarray[np.double_t, ndim=2] gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): ^ ------------------------------------------------------------ pycocotools/_mask.pyx:199:15: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): rleIou( <RLE*> dt._R, <RLE*> gt._R, m, n, <byte*> iscrowd.data, <double*> _iou.data ) def _bbIou(np.ndarray[np.double_t, ndim=2] dt, np.ndarray[np.double_t, ndim=2] gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): ^ ------------------------------------------------------------ pycocotools/_mask.pyx:199:51: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): rleIou( <RLE*> dt._R, <RLE*> gt._R, m, n, <byte*> iscrowd.data, <double*> _iou.data ) def _bbIou(np.ndarray[np.double_t, ndim=2] dt, np.ndarray[np.double_t, ndim=2] gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): ^ ------------------------------------------------------------ pycocotools/_mask.pyx:199:87: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): rleIou( <RLE*> dt._R, <RLE*> gt._R, m, n, <byte*> iscrowd.data, <double*> _iou.data ) def _bbIou(np.ndarray[np.double_t, ndim=2] dt, np.ndarray[np.double_t, ndim=2] gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): ^ ------------------------------------------------------------ pycocotools/_mask.pyx:199:141: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pass elif type(obj) == np.ndarray: N = obj.shape[0] return N # convert iscrowd to numpy array cdef np.ndarray[np.uint8_t, ndim=1] iscrowd = np.array(pyiscrowd, dtype=np.uint8) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:211:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... pass elif type(obj) == np.ndarray: N = obj.shape[0] return N # convert iscrowd to numpy array cdef np.ndarray[np.uint8_t, ndim=1] iscrowd = np.array(pyiscrowd, dtype=np.uint8) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:211:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... if not type(dt) == type(gt): raise Exception('The dt and gt should have the same data type, either RLEs, list or np.ndarray') # define local variables cdef double* _iou = <double*> 0 cdef np.npy_intp shape[1] ^ ------------------------------------------------------------ pycocotools/_mask.pyx:226:9: 'npy_intp' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def toBbox( rleObjs ): cdef RLEs Rs = _frString(rleObjs) cdef siz n = Rs.n cdef BB _bb = <BB> malloc(4*n* sizeof(double)) rleToBbox( <const RLE*> Rs._R, _bb, n ) cdef np.npy_intp shape[1] ^ ------------------------------------------------------------ pycocotools/_mask.pyx:247:9: 'npy_intp' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... rleFrBbox( <RLE*> Rs._R, <const BB> bb.data, h, w, n ) objs = _toString(Rs) return objs def frPoly( poly, siz h, siz w ): cdef np.ndarray[np.double_t, ndim=1] np_poly ^ ------------------------------------------------------------ pycocotools/_mask.pyx:262:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... rleFrBbox( <RLE*> Rs._R, <const BB> bb.data, h, w, n ) objs = _toString(Rs) return objs def frPoly( poly, siz h, siz w ): cdef np.ndarray[np.double_t, ndim=1] np_poly ^ ------------------------------------------------------------ pycocotools/_mask.pyx:262:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... rleFrPoly( <RLE*>&Rs._R[i], <const double*> np_poly.data, int(len(p)/2), h, w ) objs = _toString(Rs) return objs def frUncompressedRLE(ucRles, siz h, siz w): cdef np.ndarray[np.uint32_t, ndim=1] cnts ^ ------------------------------------------------------------ pycocotools/_mask.pyx:272:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... rleFrPoly( <RLE*>&Rs._R[i], <const double*> np_poly.data, int(len(p)/2), h, w ) objs = _toString(Rs) return objs def frUncompressedRLE(ucRles, siz h, siz w): cdef np.ndarray[np.uint32_t, ndim=1] cnts ^ ------------------------------------------------------------ pycocotools/_mask.pyx:272:9: 'ndarray' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... # it doesn't need to be freed here # called when passing into np.array() and return an np.ndarray in column-major order def __array__(self): cdef np.npy_intp shape[1] shape[0] = <np.npy_intp> self._h*self._w*self._n ^ ------------------------------------------------------------ pycocotools/_mask.pyx:94:20: 'npy_intp' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... def area(rleObjs): cdef RLEs Rs = _frString(rleObjs) cdef uint* _a = <uint*> malloc(Rs._n* sizeof(uint)) rleArea(Rs._R, Rs._n, _a) cdef np.npy_intp shape[1] shape[0] = <np.npy_intp> Rs._n ^ ------------------------------------------------------------ pycocotools/_mask.pyx:164:16: 'npy_intp' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef uint* _a = <uint*> malloc(Rs._n* sizeof(uint)) rleArea(Rs._R, Rs._n, _a) cdef np.npy_intp shape[1] shape[0] = <np.npy_intp> Rs._n a = np.array((Rs._n, ), dtype=np.uint8) a = np.PyArray_SimpleNewFromData(1, shape, np.NPY_UINT32, _a) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:166:62: Cannot convert 'uint *' to Python object Error compiling Cython file: ------------------------------------------------------------ ... _iouFun = _bbIou else: raise Exception('input data type not allowed.') _iou = <double*> malloc(m*n* sizeof(double)) iou = np.zeros((m*n, ), dtype=np.double) shape[0] = <np.npy_intp> m*n ^ ------------------------------------------------------------ pycocotools/_mask.pyx:236:16: 'npy_intp' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... else: raise Exception('input data type not allowed.') _iou = <double*> malloc(m*n* sizeof(double)) iou = np.zeros((m*n, ), dtype=np.double) shape[0] = <np.npy_intp> m*n iou = np.PyArray_SimpleNewFromData(1, shape, np.NPY_DOUBLE, _iou) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:237:64: Cannot convert 'double *' to Python object Error compiling Cython file: ------------------------------------------------------------ ... raise Exception('list input can be bounding box (Nx4) or RLEs ([RLE])') else: raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): rleIou( <RLE*> dt._R, <RLE*> gt._R, m, n, <byte*> iscrowd.data, <double*> _iou.data ) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:198:72: Python objects cannot be cast to pointers of primitive types Error compiling Cython file: ------------------------------------------------------------ ... raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): rleIou( <RLE*> dt._R, <RLE*> gt._R, m, n, <byte*> iscrowd.data, <double*> _iou.data ) def _bbIou(np.ndarray[np.double_t, ndim=2] dt, np.ndarray[np.double_t, ndim=2] gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): bbIou( <BB> dt.data, <BB> gt.data, m, n, <byte*> iscrowd.data, <double*>_iou.data ) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:200:15: Python objects cannot be cast to pointers of primitive types Error compiling Cython file: ------------------------------------------------------------ ... raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): rleIou( <RLE*> dt._R, <RLE*> gt._R, m, n, <byte*> iscrowd.data, <double*> _iou.data ) def _bbIou(np.ndarray[np.double_t, ndim=2] dt, np.ndarray[np.double_t, ndim=2] gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): bbIou( <BB> dt.data, <BB> gt.data, m, n, <byte*> iscrowd.data, <double*>_iou.data ) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:200:29: Python objects cannot be cast to pointers of primitive types Error compiling Cython file: ------------------------------------------------------------ ... raise Exception('unrecognized type. The following type: RLEs (rle), np.ndarray (box), and list (box) are supported.') return objs def _rleIou(RLEs dt, RLEs gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): rleIou( <RLE*> dt._R, <RLE*> gt._R, m, n, <byte*> iscrowd.data, <double*> _iou.data ) def _bbIou(np.ndarray[np.double_t, ndim=2] dt, np.ndarray[np.double_t, ndim=2] gt, np.ndarray[np.uint8_t, ndim=1] iscrowd, siz m, siz n, np.ndarray[np.double_t, ndim=1] _iou): bbIou( <BB> dt.data, <BB> gt.data, m, n, <byte*> iscrowd.data, <double*>_iou.data ) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:200:71: Python objects cannot be cast to pointers of primitive types Error compiling Cython file: ------------------------------------------------------------ ... cdef RLEs Rs = _frString(rleObjs) cdef siz n = Rs.n cdef BB _bb = <BB> malloc(4*n* sizeof(double)) rleToBbox( <const RLE*> Rs._R, _bb, n ) cdef np.npy_intp shape[1] shape[0] = <np.npy_intp> 4*n ^ ------------------------------------------------------------ pycocotools/_mask.pyx:248:16: 'npy_intp' is not a type identifier Error compiling Cython file: ------------------------------------------------------------ ... cdef BB _bb = <BB> malloc(4*n* sizeof(double)) rleToBbox( <const RLE*> Rs._R, _bb, n ) cdef np.npy_intp shape[1] shape[0] = <np.npy_intp> 4*n bb = np.array((1,4*n), dtype=np.double) bb = np.PyArray_SimpleNewFromData(1, shape, np.NPY_DOUBLE, _bb).reshape((n, 4)) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:250:63: Cannot convert 'BB' to Python object Error compiling Cython file: ------------------------------------------------------------ ... return bb def frBbox(np.ndarray[np.double_t, ndim=2] bb, siz h, siz w ): cdef siz n = bb.shape[0] Rs = RLEs(n) rleFrBbox( <RLE*> Rs._R, <const BB> bb.data, h, w, n ) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:257:29: Python objects cannot be cast to pointers of primitive types Error compiling Cython file: ------------------------------------------------------------ ... cdef np.ndarray[np.double_t, ndim=1] np_poly n = len(poly) Rs = RLEs(n) for i, p in enumerate(poly): np_poly = np.array(p, dtype=np.double, order='F') rleFrPoly( <RLE*>&Rs._R[i], <const double*> np_poly.data, int(len(p)/2), h, w ) ^ ------------------------------------------------------------ pycocotools/_mask.pyx:267:36: Python objects cannot be cast to pointers of primitive types Compiling pycocotools/_mask.pyx because it changed. [1/1] Cythonizing pycocotools/_mask.pyx Traceback (most recent call last): File "/home/yll/anaconda3/envs/car/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/home/yll/anaconda3/envs/car/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/home/yll/anaconda3/envs/car/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 437, in build_wheel return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)]) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 425, in _build return self._build_with_temp_dir( File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 406, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 319, in run_setup exec(code, locals()) File "<string>", line 19, in <module> File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 117, in setup return distutils.core.setup(**attrs) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 183, in setup return run_commands(dist) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 199, in run_commands dist.run_commands() File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command super().run_command(command) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command cmd_obj.run() File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/command/bdist_wheel.py", line 400, in run self.run_command("build") File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command super().run_command(command) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command cmd_obj.run() File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command self.distribution.run_command(command) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 999, in run_command super().run_command(command) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command cmd_obj.run() File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 98, in run _build_ext.run(self) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run self.build_extensions() File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 476, in build_extensions self._build_extensions_serial() File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 502, in _build_extensions_serial self.build_extension(ext) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 263, in build_extension _build_ext.build_extension(self, ext) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/Cython/Distutils/build_ext.py", line 131, in build_extension new_ext = cythonize( File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize cythonize_one(*args) File "/tmp/pip-build-env-ntqgsxtv/overlay/lib/python3.8/site-packages/Cython/Build/Dependencies.py", line 1298, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pycocotools/_mask.pyx [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycocotools Failed to build pycocotools ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pycocotools)

Building wheels for collected packages: Pillow Building wheel for Pillow (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for Pillow (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [213 lines of output] <string>:42: RuntimeWarning: Pillow 7.0.0 does not support Python 3.12 and does not provide prebuilt Windows binaries. We do not recommend building from source on Windows. C:\Users\10237\AppData\Local\Temp\pip-build-env-r0_4ic4z\overlay\Lib\site-packages\setuptools\_distutils\dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) C:\Users\10237\AppData\Local\Temp\pip-build-env-r0_4ic4z\overlay\Lib\site-packages\setuptools\dist.py:760: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND) 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-312\PIL copying src\PIL\BdfFontFile.py -> build\lib.win-amd64-cpython-312\PIL copying src\PIL\BlpImagePlugin.py -> build\lib.win-amd64-cpython-312\PIL copying src\PIL\BmpImagePlugin.py -> build\lib.win-amd64-cpython-312\PIL copying src\PIL\BufrStubImagePlugin.py -> build\lib.win-amd64-cpython-312\PIL copying src\PIL\ContainerIO.py -> build\lib.win-amd64-cpython-312\PIL copying src\PIL\CurImagePlugin.py -> build\lib.win-amd64-cpython-312\PIL 翻译解释并提供解决

Collecting fasttext Using cached fasttext-0.9.3.tar.gz (73 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pybind11>=2.2 (from fasttext) Using cached pybind11-2.13.6-py3-none-any.whl.metadata (9.5 kB) Requirement already satisfied: setuptools>=0.7.0 in d:\fasttextrego\fasttext_bio_glut\lib\site-packages (from fasttext) (78.1.1) Requirement already satisfied: numpy in d:\fasttextrego\fasttext_bio_glut\lib\site-packages (from fasttext) (2.0.1) Using cached pybind11-2.13.6-py3-none-any.whl (243 kB) Building wheels for collected packages: fasttext Building wheel for fasttext (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for fasttext (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [50 lines of output] C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-boj2tm39\overlay\Lib\site-packages\setuptools\dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'description-file' in 'metadata' (setup.cfg), please use the underscore name 'description_file' instead. !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. (Affected: fasttext). By 2026-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self._enforce_underscore(opt, section) C:\Users\Lenovo\AppData\Local\Temp\pip-build-env-boj2tm39\overlay\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 :: MIT 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-312\fasttext copying python\fasttext_module\fasttext\FastText.py -> build\lib.win-amd64-cpython-312\fasttext copying python\fasttext_module\fasttext\__init__.py -> build\lib.win-amd64-cpython-312\fasttext creating build\lib.win-amd64-cpython-312\fasttext\util copying python\fasttext_module\fasttext\util\util.py -> build\lib.win-amd64-cpython-312\fasttext\util copying python\fasttext_module\fasttext\util\__init__.py -> build\lib.win-amd64-cpython-312\fasttext\util creating build\lib.win-amd64-cpython-312\fasttext\tests copying python\fasttext_module\fasttext\tests\test_configurations.py -> build\lib.win-amd64-cpython-312\fasttext\tests copying python\fasttext_module\fasttext\tests\test_script.py -> build\lib.win-amd64-cpython-312\fasttext\tests copying python\fasttext_module\fasttext\tests\__init__.py -> build\lib.win-amd64-cpython-312\fasttext\tests running build_ext building 'fasttext_pybind' extension creating build\temp.win-amd64-cpython-312\Release\python\fasttext_module\fasttext\pybind creating build\temp.win-amd64-cpython-312\Release\src "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Lenovo\AppData\Local\Temp\pip-build-env-boj2tm39\overlay\Lib\site-packages\pybind11\include -IC:\ Users\Lenovo\AppData\Local\Temp\pip-build-env-boj2tm39\overlay\Lib\site-packages\pybind11\include -Isrc -ID:\FastTextReGo\fasttext_bio_glut\include -ID:\FastTextReGo\fasttext_bio_glut\Include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EHsc /Tppython/fasttext_module/fasttext/pybind/fasttext_pybind.cc /Fobuild\temp.win-amd64-cpython-312\Release\python\fasttext_module\fasttext\pybind\fasttext_pybind.obj /EHsc /DVERSIO N_INFO=\\\"0.9.3\\\" fasttext_pybind.cc c:\users\lenovo\appdata\local\temp\pip-install-hi0ftxzy\fasttext_d672f1ad14674ffe9f3c149b60977761\src\dictionary.h(16): fatal error C1083: Cannot open include file: 'string_view': No such file or directory error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\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 fasttext Failed to build fasttext ERROR: Failed to build installable wheels for some pyproject.toml based projects (fasttext)

Building wheel for quickjs (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for quickjs (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [12 lines of output] running bdist_wheel running build running build_py creating build\lib.win-amd64-cpython-313\quickjs copying quickjs\__init__.py -> build\lib.win-amd64-cpython-313\quickjs running build_ext building '_quickjs' extension creating build\temp.win-amd64-cpython-313\Release creating build\temp.win-amd64-cpython-313\Release\upstream-quickjs "D:\Visual Studio\Visual Studio 2022\Community\VC\Tools\MSVC\14.43.34808\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DCONFIG_VERSION=\"2021-03-27\" -DCONFIG_BIGNUM -IE:\Python3\include -IE:\Python3\Include "-ID:\Visual Studio\Visual Studio 2022\Community\VC\Tools\MSVC\14.43.34808\include" "-ID:\Visual Studio\Visual Studio 2022\Community\VC\Tools\MSVC\14.43.34808\ATLMFC\include" "-ID:\Visual Studio\Visual Studio 2022\Community\VC\Auxiliary\VS\include" "-ID:\Windows 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:\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" /Tcmodule.c /Fobuild\temp.win-amd64-cpython-313\Release\module.obj -Werror=incompatible-pointer-types cl: 命令行 error D8021 :无效的数值参数“/Werror=incompatible-pointer-types” error: command 'D:\\Visual Studio\\Visual Studio 2022\\Community\\VC\\Tools\\MSVC\\14.43.34808\\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 quickjs Failed to build quickjs ERROR: Failed to build installable wheels for some pyproject.toml based projects (quickjs)

Collecting file Using cached file-0.3.0.tar.gz (15 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: cffi>=1.0.0 in e:\luo\study\venv\lib\site-packages (from file) (1.17.1) Requirement already satisfied: pycparser in e:\luo\study\venv\lib\site-packages (from cffi>=1.0.0->file) (2.22) Building wheels for collected packages: file Building wheel for file (setup.py): started Building wheel for file (setup.py): finished with status 'error' Running setup.py clean for file Failed to build file error: subprocess-exited-with-error python setup.py bdist_wheel did not run successfully. exit code: 1 [35 lines of output] E:\LUO\study\venv\lib\site-packages\setuptools\__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try pip install --use-pep517. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) running bdist_wheel running build running build_py creating build\lib.win-amd64-cpython-39\file copying src\file\_libmagic_build.py -> build\lib.win-amd64-cpython-39\file copying src\file\__init__.py -> build\lib.win-amd64-cpython-39\file running egg_info writing src\file.egg-info\PKG-INFO writing dependency_links to src\file.egg-info\dependency_links.txt writing requirements to src\file.egg-info\requires.txt writing top-level names to src\file.egg-info\top_level.txt reading manifest file 'src\file.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__

error: subprocess-exited-with-error × Building wheel for pyopenjtalk (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [74 lines of output] D:\usertemp\pip-build-env-l81poy77\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: project.license as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for project.license. You can also use project.license-files. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) D:\usertemp\pip-build-env-l81poy77\overlay\Lib\site-packages\setuptools\config\_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() D:\usertemp\pip-build-env-l81poy77\overlay\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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() CMake is in the system path. Version: cmake version 4.0.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). running bdist_wheel running build running build_py creating build\lib.win-amd64-cpython-311\pyopenjtalk copying pyopenjtalk\utils.py -> build\lib.win-amd64-cpython-311\pyopenjtalk copying pyopenjtalk\version.py -> build\lib.win-amd64-cpython-311\pyopenjtalk copying pyopenjtalk\__init__.py -> build\lib.win-amd64-cpython-311\pyopenjtalk running egg_info writing pyopenjtalk.egg-info\PKG-INFO writing dependency_links to pyopenjtalk.egg-info\dependency_links.txt writing requirements to pyopenjtalk.egg-info\requires.txt writing top-level names to pyopenjtalk.egg-info\top_level.txt reading manifest file 'pyopenjtalk.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitmodules' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching 'tox.ini' no previously-included directories found matching '.github\*' no previously-included directories found matching 'docs\**' adding license file 'LICENSE.md' writing manifest file 'pyopenjtalk.egg-info\SOURCES.txt' creating build\lib.win-amd64-cpython-311\pyopenjtalk\htsvoice copying pyopenjtalk\htsvoice\LICENSE_mei_normal.htsvoice -> build\lib.win-amd64-cpython-311\pyopenjtalk\htsvoice copying pyopenjtalk\htsvoice\README.md -> build\lib.win-amd64-cpython-311\pyopenjtalk\htsvoice copying pyopenjtalk\htsvoice\mei_normal.htsvoice -> build\lib.win-amd64-cpython-311\pyopenjtalk\htsvoice running build_ext Compiling pyopenjtalk\openjtalk.pyx because it changed. [1/1] Cythonizing pyopenjtalk\openjtalk.pyx building 'pyopenjtalk.openjtalk' extension error: Unable to find a compatible Visual Studio installation. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pyopenjtalk Failed to build pyopenjtalk ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyopenjtalk) 这个应该如何解决,已经确定已经安装了VS和已经配好了环境变量

最新推荐

recommend-type

毕业论文-于基android数独游戏设计(1).doc

毕业论文-于基android数独游戏设计(1).doc
recommend-type

全面掌握Oracle9i:基础教程与实践指南

Oracle9i是一款由甲骨文公司开发的关系型数据库管理系统,它在信息技术领域中占据着重要的地位。Oracle9i的“i”代表了互联网(internet),意味着它具有强大的网络功能,能够支持大规模的网络应用。该系统具有高度的数据完整性和安全性,并且其强大稳定的特点使得它成为了企业级应用的首选数据库平台。 为了全面掌握Oracle9i,本教程将从以下几个方面详细讲解: 1. Oracle9i的安装与配置:在开始学习之前,您需要了解如何在不同的操作系统上安装Oracle9i数据库,并对数据库进行基本的配置。这包括数据库实例的创建、网络配置文件的设置(如listener.ora和tnsnames.ora)以及初始参数文件的设置。 2. SQL语言基础:SQL(Structured Query Language)是用于管理和操作关系型数据库的标准语言。您需要熟悉SQL语言的基本语法,包括数据查询语言(DQL)、数据操纵语言(DML)、数据定义语言(DDL)和数据控制语言(DCL)。 3. PL/SQL编程:PL/SQL是Oracle公司提供的过程化语言,它是SQL的扩展,增加了过程化编程的能力。学习PL/SQL可以让您编写更复杂、更高效的数据库程序,包括存储过程、函数、包和触发器等。 4. Oracle9i的数据管理:这部分内容涉及数据表的创建、修改、删除以及索引、视图、同义词、序列和分区等高级特性。 5. 数据库性能优化:为了确保数据库的高效运行,需要对数据库进行性能调优。这包括了解Oracle9i的内存管理、锁定机制、SQL语句优化和数据库设计原则等。 6. 数据库备份与恢复:为防止数据丢失或损坏,需要了解Oracle9i的备份和恢复机制。您将学习到如何使用RMAN(Recovery Manager)进行数据备份和恢复,并且熟悉数据库的逻辑备份和恢复策略。 7. 安全管理:安全管理是保护数据库不受非法访问和操作的重要环节。Oracle9i提供了丰富的安全特性,如用户权限管理、审计和加密等,您需要学习如何实施这些安全措施来保证数据库的安全性。 8. Oracle9i网络管理:由于Oracle9i对网络的特别设计,您还需要掌握如何管理Oracle网络,包括监听器的配置、网络故障的诊断等。 9. 高级特性介绍:Oracle9i提供了很多高级功能,如高级复制、流复制、高级安全性、Oracle Data Guard等,这些内容将帮助您掌握Oracle9i的高级特性,从而在面对复杂业务需求时有更多解决方案。 在学习Oracle9i教程的过程中,您将通过大量实例练习加深理解,同时也会了解到最佳实践和常见问题的解决方法。本教程的目的是让您全面掌握Oracle9i数据库管理系统的使用,并具备解决实际问题的能力,无论您是数据库管理员、开发人员还是系统分析师,本教程都将成为您提升技能的有力工具。
recommend-type

【数据融合技术】:甘肃土壤类型空间分析中的专业性应用

# 摘要 数据融合技术作为一种集成多源数据信息的方法,在土壤类型空间分析中发挥着关键作用。本文介绍了数据融合技术的基本概念及其理论基础,阐述了数据预处理、同步整合及冲突解决等关键技术,并详细描述了甘肃土壤类型数据准备的流程,包括数据采集、质量评估、空间化处理及融合实践准备。通过具体案例分析,展示了数据融合在土壤类型空间分布分析、土壤质量评估及土壤保护规划中的应用。同时,文
recommend-type

模糊大津法

<think>首先,用户查询是关于“模糊大津法”的,我需要理解这个术语。从引用中,我知道大津法(Otsu's method)是一种图像二值化的全局阈值算法。用户提到“模糊大津法”,这可能是大津法与模糊理论结合的一种变体。我需要基于提供的引用和自己的知识来回答。关键引用:- [^1]:讨论了大津法在图像处理中的应用,特别是二值化。- [^2]:解释了大津法的原理和实现。- [^3]:提到大津法是全局阈值算法。- [^4]:讨论了高斯模糊对大津二值化算法的影响,指出高斯模糊可以减少噪声,提高阈值计算的准确性。用户的问题是:“我想查找关于模糊大津法的技术资料或实现方法请问模糊大津法原理实现方法技术文
recommend-type

SOA服务设计原则:2007年7月版原理深入解析

由于提供的文件信息是相同的标题、描述和标签,且压缩包中仅包含一个文件,我们可以得出文件“Prentice.Hall.SOA.Principles.of.Service.Design.Jul.2007.pdf”很可能是一本关于面向服务架构(SOA)的书籍。该文件的名称和描述表明了它是一本专门讨论服务设计原则的出版物,其出版日期为2007年7月。以下是从标题和描述中提取的知识点: ### SOA设计原则 1. **服务导向架构(SOA)基础**: - SOA是一种设计原则,它将业务操作封装为可以重用的服务。 - 服务是独立的、松耦合的业务功能,可以在不同的应用程序中复用。 2. **服务设计**: - 设计优质服务对于构建成功的SOA至关重要。 - 设计过程中需要考虑到服务的粒度、服务的生命周期管理、服务接口定义等。 3. **服务重用**: - 服务设计的目的是为了重用,需要识别出业务领域中可重用的功能单元。 - 通过重用现有的服务,可以降低开发成本,缩短开发时间,并提高系统的整体效率。 4. **服务的独立性与自治性**: - 服务需要在技术上是独立的,使得它们能够自主地运行和被管理。 - 自治性意味着服务能够独立于其他服务的存在和状态进行更新和维护。 5. **服务的可组合性**: - SOA强调服务的组合性,这意味着可以通过组合不同的服务构建新的业务功能。 - 服务之间的交互应当是标准化的,以确保不同服务间的无缝通信。 6. **服务的无状态性**: - 在设计服务时,最好让服务保持无状态,以便它们可以被缓存、扩展和并行处理。 - 状态信息可以放在服务外部,比如数据库或缓存系统中。 7. **服务的可发现性**: - 设计服务时,必须考虑服务的发现机制,以便服务消费者可以找到所需的服务。 - 通常通过服务注册中心来实现服务的动态发现和绑定。 8. **服务的标准化和协议**: - 服务应该基于开放标准构建,确保不同系统和服务之间能够交互。 - 服务之间交互所使用的协议应该广泛接受,如SOAP、REST等。 9. **服务的可治理性**: - 设计服务时还需要考虑服务的管理与监控,确保服务的质量和性能。 - 需要有机制来跟踪服务使用情况、服务变更管理以及服务质量保障。 10. **服务的业务与技术视角**: - 服务设计应该同时考虑业务和技术的视角,确保服务既满足业务需求也具备技术可行性。 - 业务规则和逻辑应该与服务实现逻辑分离,以保证业务的灵活性和可维护性。 ### SOA的实施挑战与最佳实践 1. **变更管理**: - 实施SOA时需要考虑到如何管理和适应快速变更。 - 必须建立适当的变更控制流程来管理和批准服务的更改。 2. **安全性**: - 安全是SOA设计中的一个关键方面,需要确保服务交互的安全。 - 需要实现身份验证、授权、加密和审计机制以保护数据和服务。 3. **互操作性**: - 服务应设计为可与不同平台和技术实现互操作。 - 必须确保服务之间可以跨平台和语言进行通信。 4. **质量保证**: - 对服务进行持续的质量监控和改进是实施SOA不可或缺的一部分。 - 服务质量(QoS)相关的特性如性能、可靠性、可用性等都应被纳入设计考量。 5. **投资回报(ROI)和成本效益分析**: - 从经济角度评估实施SOA的合理性。 - 在设计服务时考虑长期成本节约和ROI。 根据以上知识点的总结,可以看出“Prentice.Hall.SOA.Principles.of.Service.Design.Jul.2007.pdf”这本书很可能是系统地介绍SOA设计原则和最佳实践的专业著作,对于想要深入了解SOA设计的读者来说是一本宝贵的参考资料。
recommend-type

【空间分布规律】:甘肃土壤类型与农业生产的关联性研究

# 摘要 本文对甘肃土壤类型及其在农业生产中的作用进行了系统性研究。首先概述了甘肃土壤类型的基础理论,并探讨了土壤类型与农业生产的理论联系。通过GIS技术分析,本文详细阐述了甘肃土壤的空间分布规律,并对其特征和影响因素进行了深入分析。此外,本文还研究了甘肃土壤类型对农业生产实际影响,包括不同区域土壤改良和作物种植案例,以及土壤养分、水分管理对作物生长周期和产量的具体影响。最后,提出了促进甘肃土壤与农业可持续发展的策略,包括土壤保护、退化防治对策以及土壤类型优化与农业创新的结合。本文旨在为
recommend-type

rc滤波导致相位

<think>我们参考了关于RC滤波器的多个引用,特别是引用[3]和引用[4]中提到了相位的影响。 根据引用[3]:对于一阶RC低通滤波器,相位角θ的计算公式为:θ = -arctan(ωRC),其中ω是角频率(ω=2πf),R是电阻值,C是电容值。 引用[4]也解释了相位变化的原因:电容是储能元件,信号通过电容时会有延时,导致输出信号相对于输入信号产生相位差。 因此,对于RC低通滤波器,相位差是负的,表示输出信号滞后于输入信号。滞后的角度随频率增加而增加,在截止频率处滞后45度,当频率趋近于无穷大时,滞后90度。 对于RC高通滤波器,根据引用[3]的提示(虽然没有直接给出公式),
recommend-type

FTP搜索工具:IP检测与数据库管理功能详解

FTP(File Transfer Protocol)即文件传输协议,是一种用于在网络上进行文件传输的协议,使得用户可以通过互联网与其他用户进行文件共享。FTP Search是一款专注于FTP文件搜索的工具,其工作原理和应用场景使其在处理大规模数据共享和远程文件管理方面具有一定的优势。 **属性页控件** 属性页控件是一种用户界面元素,通常用于组织多个属性或设置页面。在FTP Search工具中,属性页控件可能被用来显示和管理FTP搜索的各项参数。用户可以通过它来设置搜索的FTP服务器地址、登录凭证、搜索范围以及结果处理方式等。属性页控件可以提高用户操作的便利性,使得复杂的设置更加直观易懂。 **Ping命令** Ping命令是互联网上广泛使用的一种网络诊断工具。它通过发送ICMP(Internet Control Message Protocol)回显请求消息到指定的IP地址,并等待接收回显应答,以此来检测目标主机是否可达以及网络延迟情况。在FTP Search工具中,Ping命令被用来检测FTP服务器的存活状态,即是否在线并能够响应网络请求。 **扫描主机端口** 端口扫描是网络安全领域中的一个基本操作,它用于检测特定主机上的哪些端口是开放的、关闭的或是被过滤的。了解端口的状态可以帮助确定目标主机上运行的服务和应用程序。在FTP Search工具中,端口扫描功能可能被用于识别FTP服务器上开放的端口,从而帮助用户找到合适的途径进行文件传输。 **数据库管理** 数据库管理在数据密集型应用中扮演着关键角色。FTP Search工具中包含的数据库操作功能,如打开、添加、查询和关闭数据库,表明该工具可能被设计为与数据库系统交互,以便更好地处理搜索到的FTP文件信息。可能涉及到的数据库管理系统(DBMS)包括MySQL、Microsoft SQL Server、SQLite等,用户可以通过工具提供的数据库管理接口来进行数据的维护和检索。 **IP地址控件** IP地址控件是一种用户界面组件,它允许用户输入或选择一个IP地址。在FTP Search工具中,IP地址控件用于输入目标FTP服务器的IP地址,使工具能够定位并连接到相应的服务器。该控件可能还具备验证IP地址有效性(如是否符合IPv4标准)的功能,并且能提供下拉列表或自动完成来提升用户体验。 综上所述,FTP Search工具是一个集成了多种网络和数据库操作功能的实用工具。通过属性页控件,用户可以方便地配置和管理工具;Ping命令和端口扫描功能则有助于用户确认服务器的状态和可用性;数据库管理功能则确保用户能够有效地存储和查询FTP搜索结果;而IP地址控件则简化了用户对服务器地址的输入流程。这些功能相互配合,使得FTP Search工具在执行FTP搜索任务时更加强大、高效和用户友好。对于网络管理员、数据分析师、IT专业人员等,这类工具能够显著提升工作效率,尤其是在处理大规模的文件共享和数据检索时。
recommend-type

【制图技术】:甘肃高质量土壤分布TIF图件的成图策略

# 摘要 本文针对甘肃土壤分布数据的TIF图件制作进行了系统研究。首先概述了甘肃土壤的分布情况,接着介绍了TIF图件的基础知识,包括其格式特点、空间数据表达以及质量控制方法。随后,文中构建了成图策略的理论框架,分析了土壤分布图的信息需求与数据处理流程,并探讨了成图原则与标准。在实践操作部分,详细阐述了制图软
recommend-type

iperf命令-t最多能设置多大

<think>首先,用户的问题是:“我想了解iperf命令中-t参数的最大可设置值 请问iperf -t parameter maximum value”。这涉及到iperf工具,具体是-t参数的最大值。 从系统指令中,我需要: - 使用$...$格式处理行内数学表达式。 - 独立公式用$$...$$格式。 - 使用中文回答。 - 生成相关问题。 - 在引用的段落末尾添加引用标识。 - 回答结构清晰,逐步解决问题。 参考提供的引用: - 引用[1]: 提到iperf3用于性能测试,但不是文件传输工具,因为UDP丢包可能导致文件长度不一致。使用方式:iperf3 -s -F ./log.tx