Closed jakefromstatesss closed 7 months ago
Fixed by reinstalling python and all dependencies
Hi, there is a problem with your pytorch installation.
I recommend using Anaconda for installing pytorch and tmrl on Windows. Using a Microsoft packaging of python sounds like deliberately asking for trouble.
Closing as this is not a tmrl issue. Please open a thread in the discussions section if you need help with this.
EDIT: Ah, I hadn't seen your post saying that it was fixed. Great :)
C:\Users\jake>python -m tmrl Traceback (most recent call last): File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\runpy.py", line 188, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\runpy.py", line 147, in _get_module_details return _get_module_details(pkg_main_name, error) File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\runpy.py", line 111, in _get_module_details import(pkg_name) File "C:\Users\jake\AppData\Roaming\Python\Python39\site-packages\tmrl__init__.py", line 35, in
from tmrl.config.config_objects import CONFIG_DICT
File "C:\Users\jake\AppData\Roaming\Python\Python39\site-packages\tmrl\config\config_objects.py", line 10, in
from tmrl.training_offline import TorchTrainingOffline
File "C:\Users\jake\AppData\Roaming\Python\Python39\site-packages\tmrl\training_offline.py", line 6, in
import torch
File "C:\Users\jake\AppData\Roaming\Python\Python39\site-packages\torch__init__.py", line 141, in
raise err
OSError: [WinError 126] The specified module could not be found. Error loading "C:\Users\jake\AppData\Roaming\Python\Python39\site-packages\torch\lib\shm.dll" or one of its dependencies.