learncpp-download
learncpp-download copied to clipboard
ModuleNotFoundError: No module named 'ray'
File "C:\Users-\Desktop\learncpp-download-master\source\main.py", line 3, in
The ray module does not currently support Python 3.9+ (even though the docs say it does) There is an issue on the project about it, which is sadly still open meaning it hasn't been resolved. https://github.com/ray-project/tune-sklearn/issues/169 You can downgrade your python installation to 3.7/3.8 and install ray.
After running python main.py it shows this :
C:\Program Files\wkhtmltopdf\bin\learncpp-download\source>python main.py Traceback (most recent call last): File "main.py", line 31, in
instance = render.WkRender(sequential=args.sequential) File "C:\Program Files\wkhtmltopdf\bin\learncpp-download\source\helper\render.py", line 65, in init self.urls = self.get_urls() TypeError: get_urls() missing 1 required positional argument: 'cooldown'
The ray module does not currently support Python 3.9+ (even though the docs say it does) There is an issue on the project about it, which is sadly still open meaning it hasn't been resolved. ray-project/tune-sklearn#169 You can downgrade your python installation to 3.7/3.8 and install ray.
I have python 3.8.2 and still can't install ray. So maybe needs even older one.
Thank you for reporting. This issue is no longer applicable. For now, please stick with Python 3.10