Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'ray' #134

Open
Malathi15 opened this issue Jul 23, 2019 · 2 comments
Open

ModuleNotFoundError: No module named 'ray' #134

Malathi15 opened this issue Jul 23, 2019 · 2 comments

Comments

@Malathi15
Copy link

When I am trying to run the exercise01.ipynb I got the following error. Can anyone help me?
`from future import absolute_import
from future import division
from future import print_function

import ray
import time`

`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
in
3 from future import print_function
4
----> 5 import ray
6 import time

ModuleNotFoundError: No module named 'ray'`

Thanks in advance.

@micaleel
Copy link

Can you confirm that you have followed the installation steps described in the README file and that you've activated your conda environment before launching Jupyter notebook?

If you've done so, then ideally you should have the ray package installed and everything should run pretty smoothly.

@free-soellingeraj
Copy link

free-soellingeraj commented Aug 26, 2020

Most likely you're having python dependency management issues.
Try running in the notebook found inside exercises/:

import sys
!{sys.executable} -m pip install -U ../ray

for other missing dependencies, use the same approach. I ran:

!{sys.executable} -m pip install modin
!{sys.executable} -m pip install tensorflow
!{sys.executable} -m pip install gym
!{sys.executable} -m pip install scipy
!{sys.executable} -m pip install opencv-python
!{sys.executable} -m pip install bokeh
!{sys.executable} -m pip install ipywidgets==6.0.0
!{sys.executable} -m pip install keras

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants