Windows 10 - DLL error (post-installation)
See original GitHub issue📚 Installation
Environment
I verified in python that my CUDA level is 10.1.
>>> import torch
>>> torch.version.cuda
'10.1'
I managed to install torch-scatter, and torch-sparse via the new pip wheels (thank you rusty1s).
${CUDA}='cu101'
pip install torch-scatter==latest+${CUDA} torch-sparse==latest+${CUDA} -f https://s3.eu-central-1.amazonaws.com/pytorch-geometric.com/whl/torch-1.4.0.html
I installed torch-geometric afterwards.
pip install torch-geometric
Testing…
>>> import torch
>>> import torch_geometric
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\torch_sparse\__init__.py", line 13, in <module>
'_version', [osp.dirname(__file__)]).origin)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\_ops.py", line 106, in load_library
ctypes.CDLL(path)
File "C:\ProgramData\Anaconda3\lib\ctypes\__init__.py", line 364, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 1114] A dynamic link library (DLL) initialization routine failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\ProgramData\Anaconda3\lib\site-packages\torch_geometric\__init__.py", line 2, in <module>
import torch_geometric.nn
File "C:\ProgramData\Anaconda3\lib\site-packages\torch_geometric\nn\__init__.py", line 2, in <module>
from .data_parallel import DataParallel
File "C:\ProgramData\Anaconda3\lib\site-packages\torch_geometric\nn\data_parallel.py", line 5, in <module>
from torch_geometric.data import Batch
File "C:\ProgramData\Anaconda3\lib\site-packages\torch_geometric\data\__init__.py", line 1, in <module>
from .data import Data
File "C:\ProgramData\Anaconda3\lib\site-packages\torch_geometric\data\data.py", line 7, in <module>
from torch_sparse import coalesce
File "C:\ProgramData\Anaconda3\lib\site-packages\torch_sparse\__init__.py", line 22, in <module>
raise OSError(e)
OSError: [WinError 1114] A dynamic link library (DLL) initialization routine failed
It’s apparently missing a DLL. I am puzzled.
It appears to be torch-sparse.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Windows 10 - DLL error (post-installation) · Issue #970 - GitHub
Installation Environment I verified in python that my CUDA level is 10.1. >>> import torch >>> torch.version.cuda '10.1' I managed to ...
Read more >WSUS reinstallation and post install configuration fails
dll file which helps to ensure that sync starts. A) open command prompt with admin rights. B) C:\windows\Microsoft.NET\Framework64\v4.0.30319> ...
Read more >Post-installation glitch with ORAEVRUS10.DLL - pls help
Hi I've installed 10g Express edition and everything is fine, except that the Windows 2003 Server event log is returning errors like this:...
Read more >Example B1 issue (Windows): Post Installation guide
Hello ! I've recently achieved to download and install on windows10 Geant4 10_06_p01 without errors.So I'm trying to run example B1 as ...
Read more >Documentation: 15: 17.5. Post-Installation Setup - PostgreSQL
On Cygwin, put the library directory in the PATH or move the .dll files into ... psql: error in loading shared libraries libpq.so.2.1:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That should explain the error. Please let me know if upgrading fixes the issue.
I will look into it. Sorry!