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

Failed with installing the SEEM library in Windows 10 #47

Open
Siu-Keung opened this issue Jul 30, 2024 · 0 comments
Open

Failed with installing the SEEM library in Windows 10 #47

Siu-Keung opened this issue Jul 30, 2024 · 0 comments

Comments

@Siu-Keung
Copy link

Siu-Keung commented Jul 30, 2024

Hey guys,

I met the below error while installing the SEEM library in windows 10 OS:

######################################################
Collecting deepspeed==0.10.3 (from SEEM==1.0)
Using cached deepspeed-0.10.3.tar.gz (867 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
test.c
LINK : fatal error LNK1181: cannot open input file 'aio.lib'
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\usr\AppData\Local\Temp\pip-install-su14ddby\deepspeed_567f049e387d44dca824e1f320150964\setup.py", line 224, in
create_dir_symlink('..\..\csrc', '.\deepspeed\ops\csrc')
File "C:\Users\usr\AppData\Local\Temp\pip-install-su14ddby\deepspeed_567f049e387d44dca824e1f320150964\setup.py", line 216, in create_dir_symlink
os.remove(dest)
PermissionError: [WinError 5] Access is denied: '.\deepspeed\ops\csrc'
DS_BUILD_OPS=0
[WARNING] async_io requires the dev libaio .so object and headers but these were not found.
[WARNING] If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[WARNING] sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.4
[WARNING] please install triton==1.0.0 if you want to use sparse attention
Install Ops={'async_io': False, 'fused_adam': False, 'cpu_adam': False, 'cpu_adagrad': False, 'fused_lamb': False, 'quantizer': False, 'random_ltd': False, 'sparse_attn': False, 'spatial_inference': False, 'transformer': False, 'stochastic_transformer': False, 'transformer_inference': False}
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
######################################################

Any ideas on fixing this issue? thx

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