OSError: [WinError 126] The specified module could not be found

hi ,
i installed ray on python 3.7.5 and when i imported ray i got error that was Traceback (most recent call last):
File “C:/Users/user2/Desktop/Projects/DF_PoC_Dev/src/test_ray.py”, line 1, in
import ray
File “C:\Users\user2.conda\envs\demand_forecasting\lib\site-packages\ray_init_.py”, line 61, in
CDLL(so_path, ctypes.RTLD_GLOBAL)
File “C:\Users\user2.conda\envs\demand_forecasting\lib\ctypes_init_.py”, line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
How can i fix this error
Note : I have been working on windows server 2016

Hi Murat, I solved this problem by reinstalling pip and Ray from the latest commit on master.

I should mention that I also reinstalled my Visual Studio C++.

2 Likes