The specified module could not be found
See original GitHub issueHi , I installed ray on Python 3.7.5 . ı imported ray , when i runned the code ı got error that i wrote below. How can i solve this error ?
Traceback (most recent call last):
File "C:/Users/user2/Desktop/Projects/DF_PoC_Dev/src/test_ray.py", line 1, in <module>
import ray
File "C:\Users\user2\.conda\envs\demand_forecasting\lib\site-packages\ray\__init__.py", line 61, in <module>
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
I have been working on Windows Server 2016.
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (9 by maintainers)
Top Results From Across the Web
The error “The specified module could not be found”
Boot your computer into Safe Mode and open Task Manager > In the Processes tab, select the program encountering the specified module could...
Read more >The specified module could not be found | 3 Ways to Fix It
"The specified module could not be found" error often occurs on Windows startup or when launching a particular program.
Read more >7 Ways To Fix “The Specified Module Could Not Be Found” Error
“The specified module could not be found” is a common error that usually occurs when your system tries to access missing DLL files....
Read more >4 Ways to Solve the Specified Module Could Not Be Found
How to Fix the Specified Module Could Not Be Found? · Solution 1. Run SFC Scan · Solution 2. Scan Virus of Your...
Read more >How to fix "The specified module could not be found" error on ...
How to fix "The specified module could not be found" error on Windows? · Fix 1. Scan your computer for malware · Fix...
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 Free
Top 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

got the same error with Python3.7.9 on Windows10 I have solved this by install the Visual C++ runtime https://aka.ms/vs/16/release/vc_redist.x64.exe You can get help from https://docs.ray.io/en/latest/installation.html#windows-support
Ok, ok. Yes. I was confused as to what you meant. I haven’t used Python much in many years, let alone on Windows, so I’m pretty rusty.
Now it’s working, my steps to reproduce:
Uninstall everything, lol
Install this: https://www.python.org/ftp/python/3.8.7/python-3.8.7-amd64.exe Grab this: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-2.0.0.dev0-cp38-cp38-win_amd64.whl
Now it works, thanks for the help! @mehrdadn