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

HSNELouvainDemo fails with OSError: [WinError 126] #3

Open
bldrvnlw opened this issue Oct 9, 2020 · 2 comments
Open

HSNELouvainDemo fails with OSError: [WinError 126] #3

bldrvnlw opened this issue Oct 9, 2020 · 2 comments

Comments

@bldrvnlw
Copy link
Collaborator

bldrvnlw commented Oct 9, 2020

python testhsnelouvain.py

Traceback (most recent call last):
File "testhsnelouvain.py", line 5, in
import community as community_louvain
File "C:\Users\bvanlew\Anaconda3\envs\p37hsnedemo\lib\site-packages\community_init_.py", line 9, in
from .community_louvain import (
File "C:\Users\bvanlew\Anaconda3\envs\p37hsnedemo\lib\site-packages\community\community_louvain.py", line 12, in
import networkx as nx
File "C:\Users\bvanlew\Anaconda3\envs\p37hsnedemo\lib\site-packages\networkx_init_.py", line 112, in
import networkx.generators
File "C:\Users\bvanlew\Anaconda3\envs\p37hsnedemo\lib\site-packages\networkx\generators_init_.py", line 8, in
from networkx.generators.community import *
File "C:\Users\bvanlew\Anaconda3\envs\p37hsnedemo\lib\site-packages\networkx\generators\community.py", line 20, in
from scipy.special import zeta as zeta
File "C:\Users\bvanlew\Anaconda3\envs\p37hsnedemo\lib\site-packages\scipy_init
.py", line 136, in
from . import distributor_init
File "C:\Users\bvanlew\Anaconda3\envs\p37hsnedemo\lib\site-packages\scipy_distributor_init.py", line 61, in
WinDLL(os.path.abspath(filename))
File "C:\Users\bvanlew\Anaconda3\envs\p37hsnedemo\lib\ctypes_init
.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

@bldrvnlw
Copy link
Collaborator Author

bldrvnlw commented Oct 9, 2020

This occurred with scipy 1.5.2. Downgrading to scipy 1.4.1 fixes the problem.

TODO Update the requirements.txt with the working version of scipy

@bldrvnlw
Copy link
Collaborator Author

bldrvnlw commented Oct 9, 2020

Appears to have been reported in scipy scipy/scipy#12400. Even though it suggests that this has been fixed in 1.5.1 neither 1.5.1 or 1.5.2 of scipy fix the issue. Downgrading to 1.4.1 is still currently the workaround

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