win_did.cpp

  name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-5572165936844014&dt=1194442938015&lmt=1194190197&format=336x280_as&output=html&correlator=1194442937843&url=file%3A%2F%2F%2FC%3A%2FDocuments%2520and%2520Settings%2Flhh1%2F%E6%A1%8C%E9%9D%A2%2FCLanguage.htm&color_bg=FFFFFF&color_text=000000&color_link=000000&color_url=FFFFFF&color_border=FFFFFF&ad_type=text&ga_vid=583001034.1194442938&ga_sid=1194442938&ga_hid=1942779085&flash=9&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=32&u_tz=480&u_java=true" frameborder="0" width="336" scrolling="no" height="280" allowtransparency="allowtransparency"> #include <windows.h>
#include <stdio.h>
#include <stdlib.h>

void main(void)
 {
    char szBuffer[MAX_PATH+100];
    DWORD dwLogicalDrives = GetLogicalDrives();

     for ( nDrive = 0; nDrive<32; nDrive++ )
       {
        if ( dwLogicalDrives & (1 << nDrive) )
          { // Is drive available?
           UINT  uType;                 // type of drive.

            // Get disk information.
            wsprintf( szBuffer, "%c://", nDrive+'A' );
            uType = GetDriveType(szBuffer);

            // Print out information.
            wsprintf(&szBuffer[3], " Id: %u, Type: %s ", uType,
                    (uType == DRIVE_REMOVABLE) ? "FLOPPY" :
                              ((uType == DRIVE_FIXED) ?  "HARD DISK" :
                              ((uType == DRIVE_REMOTE) ? "NETWORK" :
                              ((uType == DRIVE_CDROM) ?  "CDROM" :
                              ((uType == DRIVE_RAMDISK) ? "RAMDISK" :
                              ((uType == 1) ? "DOES NOT EXIST" :
                              "UNKNOWN DRIVE TYPE" ))))));
            printf("%s/n", szBuffer);
          }
         }
}

(venv) PS C:\Users\KTX> pip install vllm torch transformers --index-url https://pypi.org/simple Collecting vllm Downloading vllm-0.8.1.tar.gz (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 10.8 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [21 lines of output] Microsoft Visual C++ Redistributable is not installed, this may lead to the DLL load failure. It can be downloaded at https://aka.ms/vs/16/release/vc_redist.x64.exe Traceback (most recent call last): File "E:\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module> main() File "E:\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "E:\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 130, in get_requires_for_build_wheel return hook(config_settings) File "C:\Users\KTX\AppData\Local\Temp\pip-build-env-qtdiul6r\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) File "C:\Users\KTX\AppData\Local\Temp\pip-build-env-qtdiul6r\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires self.run_setup() File "C:\Users\KTX\AppData\Local\Temp\pip-build-env-qtdiul6r\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup exec(code, locals()) File "<string>", line 14, in <module> File "C:\Users\KTX\AppData\Local\Temp\pip-build-env-qtdiul6r\overlay\Lib\site-packages\torch\__init__.py", line 274, in <module> _load_dll_libraries() File "C:\Users\KTX\AppData\L
03-22
Building wheels for collected packages: TA_Lib Building wheel for TA_Lib (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for TA_Lib (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [31 lines of output] <string>:77: UserWarning: Cannot find ta-lib library, installation may fail. C:\Users\www\AppData\Local\Temp\pip-build-env-o_4j5icz\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\talib copying talib\abstract.py -> build\lib.win-amd64-cpython-313\talib copying talib\deprecated.py -> build\lib.win-amd64-cpython-313\talib copying talib\stream.py -> build\lib.win-amd64-cpython-313\talib copying talib\test_abstract.py -> build\lib.win-amd64-cpython-313\talib copying talib\test_data.py -> build\lib.win-amd64-cpython-313\talib copying talib\test_func.py -> build\lib.win-amd64-cpython-313\talib copying talib\test_pandas.py -> build\lib.win-amd64-cpython-313\talib copying talib\test_polars.py -> build\lib.win-amd64-cpython-313\talib copying talib\test_stream.py -> build\lib.win-amd64-cpython-313\talib copying talib\__init__.py -> build\lib.win-amd64-cpython-313\talib running build_ext building 'talib._ta_lib' 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 TA_Lib Failed to build TA_Lib ERROR: Failed to build installable wheels for some pyproject.toml based projects (TA_Lib)
最新发布
04-07
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值