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

Import error #2 #285

Closed
Igor-987 opened this issue Dec 23, 2021 · 2 comments
Closed

Import error #2 #285

Igor-987 opened this issue Dec 23, 2021 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@Igor-987
Copy link

Igor-987 commented Dec 23, 2021

When I import abess in my python file, I see the following error:

Traceback (most recent call last):
File "c:\Users\igork\code\best_subset.py", line 1, in
from abess.linear import abessLm
File "C:\Users\igork\AppData\Roaming\Python\Python39\site-packages\abess_init_.py", line 9, in
from abess.linear import abessLogistic, abessLm, abessCox, abessPoisson, abessMultigaussian, abessMultinomial, abessGamma
File "C:\Users\igork\AppData\Roaming\Python\Python39\site-packages\abess\linear.py", line 3, in
from .bess_base import bess_base
File "C:\Users\igork\AppData\Roaming\Python\Python39\site-packages\abess\bess_base.py", line 6, in
from .cabess import *
File "C:\Users\igork\AppData\Roaming\Python\Python39\site-packages\abess\cabess.py", line 13, in
from . import _cabess
ImportError: DLL load failed while importing _cabess: Не найден указанный модуль.

I tried installing MinGW-w64 and adding it to PATH as written here #259 : but the problem persists.

abess was installed via pip install. python version 3.9.6
Can you help me?

@Jiang-Kangkang
Copy link
Collaborator

Hi~Have you installed the dependencies include swig, bash and mingw? Please follow the guideline to install the dependencies first. If this problem still occurs, feel free to contact us.

@Mamba413 Mamba413 added the bug Something isn't working label Jan 18, 2022
@Jiang-Kangkang
Copy link
Collaborator

We have fix this problem in latest Python package. If you have any other problem, feel free to contact us. We will close this issue.

@Mamba413 Mamba413 added the duplicate This issue or pull request already exists label Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants