kylemath / DeepEEG

Deep Learning with Tensor Flow for EEG MNE Epoch Objects
MIT License
269 stars 60 forks source link

error in loading examples from eeg-notebooks . " from utils import *" causes error : " no module called TensorFlow" #29

Open PayasSingh opened 5 years ago

kylemath commented 5 years ago

"I have been trying to run DeepEEG on my machine but I am facing a problem while loading examples from eeg-notebooks. Every time I enter the line “ from utils import * ” in a python script the terminal reports an error “no module called TensorFlow” despite having TensorFlow installed on my MacBook. I have tried installing different versions of tenserflow and creating a virtual environment as well but nothing seems to work. Do you have any suggestions as to how I could get past this problem ? "

kylemath commented 5 years ago

you could also try running the code in a google collaboratory notebook if this is getting too frustrating

https://github.com/kylemath/DeepEEG/tree/master/notebooks

kylemath commented 5 years ago

"I have been trying to run DeepEEG on my machine but I am facing a problem while loading examples from eeg-notebooks. Every time I enter the line “ from utils import * ” in a python script the terminal reports an error “no module called TensorFlow” despite having TensorFlow installed on my MacBook. I have tried installing different versions of tenserflow and creating a virtual environment as well but nothing seems to work. Do you have any suggestions as to how I could get past this problem ? "

are you using conda or python venv for the virtual environment?

what happens during the /install.sh when it is installing the requirements with pip, scroll through the command window output and see if there is an error when you install tensorflow

this is the specific tensor flow import it is trying from tensorflow import set_random_seed set_random_seed(2)

PayasSingh commented 5 years ago

Hello,

I am using Conda for the virtual environment. I also tried using the python venv which gives me the error “ can’t import set_random_seed from Tensorflow” .

I tried to use google collaboratory notebook as well but I am confused about where to get the data from. I tried to run the simulate data code but it gives me the error “ name ‘SimulateRaw' is not defined”

Sincerely, Payas Singh

On May 7, 2019, at 9:46 PM, Kyle Mathewson notifications@github.com wrote:

"I have been trying to run DeepEEG on my machine but I am facing a problem while loading examples from eeg-notebooks. Every time I enter the line “ from utils import * ” in a python script the terminal reports an error “no module called TensorFlow” despite having TensorFlow installed on my MacBook. I have tried installing different versions of tenserflow and creating a virtual environment as well but nothing seems to work. Do you have any suggestions as to how I could get past this problem ? "

are you using conda or python venv for the virtual environment?

what happens during the /install.sh when it is installing the requirements with pip, scroll through the command window output and see if there is an error when you install tensorflow

this is the specific tensor flow import it is trying from tensorflow import set_random_seed set_random_seed(2)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kylemath/DeepEEG/issues/29#issuecomment-490336234, or mute the thread https://github.com/notifications/unsubscribe-auth/AKJGNK5KNQFWKQPBJ35RQKDPUJEKNANCNFSM4HLN43NA.

kylemath commented 5 years ago

try the muse collab notebook, that one should be the easiest

On Mon, May 13, 2019 at 5:38 PM PayasSingh notifications@github.com wrote:

Hello,

I am using Conda for the virtual environment. I also tried using the python venv which gives me the error “ can’t import set_random_seed from Tensorflow” .

I tried to use google collaboratory notebook as well but I am confused about where to get the data from. I tried to run the simulate data code but it gives me the error “ name ‘SimulateRaw' is not defined”

Sincerely, Payas Singh

On May 7, 2019, at 9:46 PM, Kyle Mathewson notifications@github.com wrote:

"I have been trying to run DeepEEG on my machine but I am facing a problem while loading examples from eeg-notebooks. Every time I enter the line “ from utils import * ” in a python script the terminal reports an error “no module called TensorFlow” despite having TensorFlow installed on my MacBook. I have tried installing different versions of tenserflow and creating a virtual environment as well but nothing seems to work. Do you have any suggestions as to how I could get past this problem ? "

are you using conda or python venv for the virtual environment?

what happens during the /install.sh when it is installing the requirements with pip, scroll through the command window output and see if there is an error when you install tensorflow

this is the specific tensor flow import it is trying from tensorflow import set_random_seed set_random_seed(2)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/kylemath/DeepEEG/issues/29#issuecomment-490336234>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AKJGNK5KNQFWKQPBJ35RQKDPUJEKNANCNFSM4HLN43NA .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kylemath/DeepEEG/issues/29?email_source=notifications&email_token=AA36GFKAEEC5YNJTEND3LU3PVH3W7A5CNFSM4HLN43NKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVJ3GJY#issuecomment-492024615, or mute the thread https://github.com/notifications/unsubscribe-auth/AA36GFILQW2CYGFKV6UYTOLPVH3W7ANCNFSM4HLN43NA .