-
Notifications
You must be signed in to change notification settings - Fork 7
Description
开始时:
(dynrefer) C:\Users\Administrator>pip install DCNv4==1.0.0.post2
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting DCNv4==1.0.0.post2
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/f7/3c/7f7386b4ada92f35100242cb633cccaaa324579bfa7cd2518870a303774e/DCNv4-1.0.0.post2.tar.gz (19 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: DCNv4
Building wheel for DCNv4 (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [21 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\DCNv4
copying DCNv4_init_.py -> build\lib.win-amd64-cpython-38\DCNv4
creating build\lib.win-amd64-cpython-38\DCNv4\functions
copying DCNv4/functions\dcnv4_func.py -> build\lib.win-amd64-cpython-38\DCNv4/functions
copying DCNv4/functions\flash_deform_attn_func.py -> build\lib.win-amd64-cpython-38\DCNv4/functions
copying DCNv4/functions\table.py -> build\lib.win-amd64-cpython-38\DCNv4/functions
copying DCNv4/functions_init_.py -> build\lib.win-amd64-cpython-38\DCNv4/functions
creating build\lib.win-amd64-cpython-38\DCNv4\modules
copying DCNv4/modules\dcnv4.py -> build\lib.win-amd64-cpython-38\DCNv4/modules
copying DCNv4/modules\flash_deform_attn.py -> build\lib.win-amd64-cpython-38\DCNv4/modules
copying DCNv4/modules_init_.py -> build\lib.win-amd64-cpython-38\DCNv4/modules
running build_ext
D:\Anaconda3\envs\dynrefer\lib\site-packages\torch\utils\cpp_extension.py:381: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'DCNv4.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 DCNv4
Running setup.py clean for DCNv4
Failed to build DCNv4
ERROR: Could not build wheels for DCNv4, which is required to install pyproject.toml-based projects
后面又变成:
Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/dcnv4/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /simple/dcnv4/ (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1135)'))) - skipping
ERROR: Could not find a version that satisfies the requirement DCNv4==1.0.0.post2 (from versions: none)
ERROR: No matching distribution found for DCNv4==1.0.0.post2
一点头绪都没,求大神指点