Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot download esim_torch #95

Open
RiverUp opened this issue Dec 23, 2024 · 0 comments
Open

cannot download esim_torch #95

RiverUp opened this issue Dec 23, 2024 · 0 comments

Comments

@RiverUp
Copy link

RiverUp commented Dec 23, 2024

(vid2e) PS D:\projects\code\academic\Event\rpg_vid2e> pip install esim_torch/                                                                                        
Looking in indexes: https://pypi.org/simple/                                                                                                                         
Processing d:\projects\code\academic\event\rpg_vid2e\esim_torch
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: esim_torch
  Building wheel for esim_torch (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [11 lines of output]
      E:\env\conda\envs\vid2e\lib\site-packages\setuptools\_distutils\extension.py:139: UserWarning: Unknown Extension options: 'verbose'
        warnings.warn(msg)
      running bdist_wheel
      running build
      running build_py
      creating build\lib.win-amd64-cpython-39\esim_torch
      copying src\esim_torch\esim_torch.py -> build\lib.win-amd64-cpython-39\esim_torch
      copying src\esim_torch\__init__.py -> build\lib.win-amd64-cpython-39\esim_torch
      running build_ext
      building 'esim_cuda' 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 esim_torch
  Running setup.py clean for esim_torch
Failed to build esim_torch
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (esim_torch)

when i run pip install esim_torch/, it shows me the error 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]. But i have already installed msvc14.1. when i type cl in cmd, it will give me the right feedback as 用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.16.27051 版 版权所有(C) Microsoft Corporation。保留所有权利。. so i don't know how to fix this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant