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

First of all, I used ">python setup.py build_ext --inplace" to compile. I would like to ask why the question in ext_loader.py file appears #12

Open
zhuchunzheng opened this issue May 28, 2022 · 1 comment

Comments

@zhuchunzheng
Copy link

Traceback (most recent call last):
File "D:\Lenovo\PycharmProjects\PS-ViT-master\utils\ext_loader.py", line 12, in
ext_module = load_ext('ext', ['progressive_sampling_forward', 'progressive_sampling_backward'])
File "D:\Lenovo\PycharmProjects\PS-ViT-master\utils\ext_loader.py", line 5, in load_ext
ext = importlib.import_module(name)
File "D:\Anaconda3\envs\python39\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 666, in _load_unlocked
File "", line 565, in module_from_spec
File "", line 1108, in create_module
File "", line 228, in _call_with_frames_removed
ImportError: DLL load failed while importing _ext: 找不到指定的模块。

@zhuchunzheng zhuchunzheng changed the title First of all, I used ">python setup.py build_ext --inplace" to compile. I would like to ask why the ext_loader.py file appears First of all, I used ">python setup.py build_ext --inplace" to compile. I would like to ask why the question in ext_loader.py file appears May 28, 2022
@yuexy
Copy link
Owner

yuexy commented May 30, 2022

Windows is not supported currently

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

2 participants